use a normal button rather than an image button

This commit is contained in:
Mohamed Zenadi 2015-07-18 20:11:39 +02:00
parent ba1ce73dba
commit 5cd34a3427
2 changed files with 3 additions and 3 deletions

View file

@ -66,12 +66,11 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:typeface="monospace" android:typeface="monospace"
android:layout_weight="1"/> android:layout_weight="1"/>
<ImageButton <Button
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:src="@drawable/ic_action_new"
android:background="@drawable/blue_rectangle"
android:id="@+id/generate_password" android:id="@+id/generate_password"
android:text="@string/pwd_generate_button"
android:onClick="handleClick"/> android:onClick="handleClick"/>
</LinearLayout> </LinearLayout>

View file

@ -136,5 +136,6 @@
<string name="show_password_pref_title">Show the password</string> <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="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="toast_password_copied">Password copied into the clipboard</string>
<string name="pwd_generate_button">Generate</string>
</resources> </resources>