diff options
author | zeapo <mohamed@zenadi.com> | 2017-08-11 10:46:04 +0200 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2017-08-11 10:46:04 +0200 |
commit | bb2c6df4cf05470a1d8ea2eabf56ff068b437877 (patch) | |
tree | 979f792562a16649a076513a12af50f794145866 /app/src/main/res | |
parent | ae47f3ae9362b04408be6e815df1572bb2166dca (diff) |
more layout linting and string extraction
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/encrypt_layout.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_to_clone_or_not.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/password_row_layout.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
4 files changed, 8 insertions, 4 deletions
diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml index 69127049..29fde529 100644 --- a/app/src/main/res/layout/encrypt_layout.xml +++ b/app/src/main/res/layout/encrypt_layout.xml @@ -58,6 +58,7 @@ <EditText android:id="@+id/crypto_password_edit" android:layout_width="match_parent" + android:hint="@string/crypto_password_edit_hint" android:layout_height="0dp" android:layout_weight="1" android:typeface="monospace" /> @@ -81,6 +82,7 @@ android:id="@+id/crypto_extra_edit" android:layout_width="match_parent" android:layout_height="fill_parent" + android:hint="@string/crypto_extra_edit_hint" android:enabled="true" android:typeface="monospace" android:visibility="visible" /> diff --git a/app/src/main/res/layout/fragment_to_clone_or_not.xml b/app/src/main/res/layout/fragment_to_clone_or_not.xml index 170bd1aa..87d1d849 100644 --- a/app/src/main/res/layout/fragment_to_clone_or_not.xml +++ b/app/src/main/res/layout/fragment_to_clone_or_not.xml @@ -4,7 +4,7 @@ android:layout_height="match_parent" android:background="@color/blue_grey_500" android:orientation="vertical" - tools:context="com.zeapo.pwdstore.ToCloneOrNot"> + tools:context="com.zeapo.pwdstore.PasswordStore"> <RelativeLayout android:layout_width="match_parent" @@ -67,7 +67,7 @@ android:layout_alignTop="@+id/main_clone_button" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" - android:textSize="11sp" /> + android:textSize="12sp" /> <Button android:id="@+id/main_clone_button" android:layout_width="wrap_content" @@ -79,7 +79,7 @@ android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" - android:textSize="11sp" + android:textSize="12sp" tools:ignore="RelativeOverlap" /> </RelativeLayout> diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml index 3c886921..85f8838d 100644 --- a/app/src/main/res/layout/password_row_layout.xml +++ b/app/src/main/res/layout/password_row_layout.xml @@ -39,7 +39,7 @@ android:layout_alignTop="@+id/type_image" android:layout_toRightOf="@+id/type_image" android:layout_toEndOf="@+id/type_image" - android:maxLines="1" + android:singleLine="true" tools:ignore="HardcodedText" /> <TextView diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4f5e422f..d96a7531 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -213,4 +213,6 @@ <string name="hackish_tools">Hackish tools</string> <string name="abort_rebase">Abort rebase</string> <string name="commit_hash">Commit hash</string> + <string name="crypto_password_edit_hint">p@ssw0rd!</string> + <string name="crypto_extra_edit_hint">username: something other extra content</string> </resources> |