diff options
author | Matthew Wong <wongma@protonmail.ch> | 2015-07-10 19:46:18 -0400 |
---|---|---|
committer | Matthew Wong <wongma@protonmail.ch> | 2015-07-10 19:46:18 -0400 |
commit | d63b16eb2671608cd9acc7e935f1ec3db1d0b396 (patch) | |
tree | 54e973aad0c960ba48349cc62d92a0fb35a66793 /app/src/main/res/layout | |
parent | fccefadd3205204cd766af66a391e2b18f52bd67 (diff) |
Open password generation dialog when button pressed
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/encrypt_layout.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml index 5fc93b3c..dcb6bf88 100644 --- a/app/src/main/res/layout/encrypt_layout.xml +++ b/app/src/main/res/layout/encrypt_layout.xml @@ -64,7 +64,15 @@ android:id="@+id/crypto_password_edit" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:typeface="monospace"/> + android:typeface="monospace" + android:layout_weight="1"/> + <ImageButton + 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:onClick="handleClick"/> </LinearLayout> <TextView |