aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-07-18 20:11:39 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2015-07-18 20:11:39 +0200
commit5cd34a3427fdca5ff58408ea6ff5bd00d49173bd (patch)
tree233efc9f604c13f925333d52714042e405ec3e89 /app/src/main
parentba1ce73dbaa3a60691b223dd7f131e3c05ddc683 (diff)
use a normal button rather than an image button
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/encrypt_layout.xml5
-rw-r--r--app/src/main/res/values/strings.xml1
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>