diff options
author | zeapo <mohamed@zenadi.com> | 2014-10-19 18:14:35 +0200 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2014-10-19 18:14:35 +0200 |
commit | 639031737f6cbfd2c9cf3bcede8d1c85e9ddac67 (patch) | |
tree | d6e55a7e4c4ea08bb463966e5b8729b6260c72c1 /app/src/main/res/layout | |
parent | 24892e6a9555f36a5d6cbe5658edb6f51ab85eba (diff) |
nicer layout for pass list
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_pwdstore.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/password_row_layout.xml | 15 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app/src/main/res/layout/activity_pwdstore.xml b/app/src/main/res/layout/activity_pwdstore.xml index b7074083..20878286 100644 --- a/app/src/main/res/layout/activity_pwdstore.xml +++ b/app/src/main/res/layout/activity_pwdstore.xml @@ -2,7 +2,6 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#eee" tools:context=".pwdstore" android:orientation="vertical"> diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml index 3636a20b..ab6f31af 100644 --- a/app/src/main/res/layout/password_row_layout.xml +++ b/app/src/main/res/layout/password_row_layout.xml @@ -3,25 +3,26 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:id="@+id/front" - android:tag="front" android:background="@drawable/rectangle" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp" + android:layout_marginTop="4dp" + android:layout_marginBottom="4dp" android:layout_gravity="start|center_vertical"> <TextView android:id="@+id/type" android:text="TYPE" android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:padding="8dp" + android:layout_height="match_parent" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:textStyle="bold" - android:layout_gravity="center_vertical" + android:layout_gravity="center_horizontal|center_vertical" /> <TextView android:id="@+id/label" android:text="FILE_NAME" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" |