diff options
| author | zeapo <mohamed@zenadi.com> | 2014-08-17 01:13:46 +0200 |
|---|---|---|
| committer | zeapo <mohamed@zenadi.com> | 2014-08-17 01:13:46 +0200 |
| commit | 1858fb5e52eb764924d1b57dcd6c395ead54cbc3 (patch) | |
| tree | 5eb506679c2b108a151388798e8be495fc1df0e3 /app/src/main/res/layout/decrypt_layout.xml | |
| parent | 3debc057071e4468921f99f2ebeb59f54eae9307 (diff) | |
| download | HardenedPass-1858fb5e52eb764924d1b57dcd6c395ead54cbc3.tar.gz HardenedPass-1858fb5e52eb764924d1b57dcd6c395ead54cbc3.zip | |
major ui improvement to the list using SwipeListView
Diffstat (limited to 'app/src/main/res/layout/decrypt_layout.xml')
| -rw-r--r-- | app/src/main/res/layout/decrypt_layout.xml | 46 |
1 files changed, 7 insertions, 39 deletions
diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml index e81f288b..300e1d49 100644 --- a/app/src/main/res/layout/decrypt_layout.xml +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -9,13 +9,14 @@ <LinearLayout android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_height="wrap_content" android:orientation="vertical"> - <GridLayout + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@drawable/rectangle"> + android:background="@drawable/rectangle" + android:orientation="vertical"> <TextView android:layout_width="wrap_content" @@ -24,10 +25,7 @@ android:text="CATEGORY HERE" android:id="@+id/crypto_password_category" android:layout_gravity="center_vertical" - android:layout_marginLeft="8dp" - android:layout_column="0" - android:layout_row="0" - android:layout_columnSpan="2"/> + android:layout_marginLeft="@dimen/activity_horizontal_margin"/> <TextView android:layout_width="wrap_content" @@ -38,38 +36,8 @@ android:text="PASSWORD FILE NAME HERE" android:id="@+id/crypto_password_file" android:layout_gravity="center_vertical" - android:layout_marginLeft="8dp" - android:layout_column="0" - android:layout_columnSpan="2" - android:layout_row="1"/> - - - <ImageButton - android:id="@+id/crypto_delete_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ico_del" - android:background="@drawable/red_rectangle" - android:layout_gravity="center_vertical" - android:onClick="handleClick" - android:layout_column="3" - android:layout_row="0" - android:layout_rowSpan="2"/> - - <ImageButton - android:id="@+id/crypto_show_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ico_key" - android:background="@drawable/blue_rectangle" - android:layout_gravity="center_vertical" - android:layout_marginLeft="8dp" - android:onClick="handleClick" - android:layout_column="4" - android:layout_row="0" - android:layout_rowSpan="2"/> - - </GridLayout> + android:layout_marginLeft="@dimen/activity_horizontal_margin"/> + </LinearLayout> <LinearLayout android:id="@+id/crypto_container" |
