From 1fa1f4a553cdef7c22570f5449d5793b82442700 Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Wed, 1 Jul 2015 01:50:12 -0400 Subject: Selected rows color --- .../main/res/drawable/password_row_background.xml | 5 +++++ app/src/main/res/drawable/selected_rectangle.xml | 21 +++++++++++++++++++++ app/src/main/res/layout/password_row_layout.xml | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/password_row_background.xml create mode 100644 app/src/main/res/drawable/selected_rectangle.xml diff --git a/app/src/main/res/drawable/password_row_background.xml b/app/src/main/res/drawable/password_row_background.xml new file mode 100644 index 00000000..8f39b056 --- /dev/null +++ b/app/src/main/res/drawable/password_row_background.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/selected_rectangle.xml b/app/src/main/res/drawable/selected_rectangle.xml new file mode 100644 index 00000000..bd3c40ae --- /dev/null +++ b/app/src/main/res/drawable/selected_rectangle.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml index ab6f31af..99ee58eb 100644 --- a/app/src/main/res/layout/password_row_layout.xml +++ b/app/src/main/res/layout/password_row_layout.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@drawable/rectangle" + android:background="@drawable/password_row_background" android:layout_marginTop="4dp" android:layout_marginBottom="4dp" android:layout_gravity="start|center_vertical"> -- cgit v1.2.3