diff options
author | Mohamed Zenadi <mohamed@zenadi.com> | 2015-07-18 20:11:39 +0200 |
---|---|---|
committer | Mohamed Zenadi <mohamed@zenadi.com> | 2015-07-18 20:11:39 +0200 |
commit | 5cd34a3427fdca5ff58408ea6ff5bd00d49173bd (patch) | |
tree | 233efc9f604c13f925333d52714042e405ec3e89 | |
parent | ba1ce73dbaa3a60691b223dd7f131e3c05ddc683 (diff) |
use a normal button rather than an image button
-rw-r--r-- | app/src/main/res/layout/encrypt_layout.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml index dcb6bf88..84fe99c3 100644 --- a/app/src/main/res/layout/encrypt_layout.xml +++ b/app/src/main/res/layout/encrypt_layout.xml @@ -66,12 +66,11 @@ android:layout_height="wrap_content" android:typeface="monospace" android:layout_weight="1"/> - <ImageButton + <Button android:layout_height="wrap_content" android:layout_width="wrap_content" - android:src="@drawable/ic_action_new" - android:background="@drawable/blue_rectangle" android:id="@+id/generate_password" + android:text="@string/pwd_generate_button" android:onClick="handleClick"/> </LinearLayout> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a9b03151..1f2ae926 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -136,5 +136,6 @@ <string name="show_password_pref_title">Show the password</string> <string name="show_password_pref_summary">Control the visibility of the passwords once decrypted, this does not disable the password copy</string> <string name="toast_password_copied">Password copied into the clipboard</string> + <string name="pwd_generate_button">Generate</string> </resources> |