aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2014-10-19 18:14:35 +0200
committerzeapo <mohamed@zenadi.com>2014-10-19 18:14:35 +0200
commit639031737f6cbfd2c9cf3bcede8d1c85e9ddac67 (patch)
treed6e55a7e4c4ea08bb463966e5b8729b6260c72c1 /app/src/main/res/drawable
parent24892e6a9555f36a5d6cbe5658edb6f51ab85eba (diff)
nicer layout for pass list
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/category_rectangle.xml15
-rw-r--r--app/src/main/res/drawable/password_rectangle.xml15
-rw-r--r--app/src/main/res/drawable/rectangle.xml9
3 files changed, 33 insertions, 6 deletions
diff --git a/app/src/main/res/drawable/category_rectangle.xml b/app/src/main/res/drawable/category_rectangle.xml
new file mode 100644
index 00000000..1516662d
--- /dev/null
+++ b/app/src/main/res/drawable/category_rectangle.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape android:shape="rectangle" android:dither="true">
+ <corners android:topLeftRadius="2dp" android:bottomLeftRadius="2dp"/>
+ <solid android:color="@color/deep_orange_500" />
+
+ <padding android:bottom="16dp"
+ android:left="16dp"
+ android:right="16dp"
+ android:top="16dp" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/password_rectangle.xml b/app/src/main/res/drawable/password_rectangle.xml
new file mode 100644
index 00000000..e1a19127
--- /dev/null
+++ b/app/src/main/res/drawable/password_rectangle.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape android:shape="rectangle" android:dither="true">
+ <corners android:topLeftRadius="2dp" android:bottomLeftRadius="2dp"/>
+ <solid android:color="@color/blue_grey_500" />
+
+ <padding android:bottom="16dp"
+ android:left="16dp"
+ android:right="16dp"
+ android:top="16dp" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/rectangle.xml b/app/src/main/res/drawable/rectangle.xml
index 1f88f6df..27546153 100644
--- a/app/src/main/res/drawable/rectangle.xml
+++ b/app/src/main/res/drawable/rectangle.xml
@@ -5,20 +5,17 @@
<shape android:shape="rectangle"
android:dither="true">
<corners android:radius="2dp"/>
- <solid android:color="#ccc" />
+ <solid android:color="@color/blue_grey_200" />
</shape>
</item>
- <item android:bottom="2dp">
+ <item android:bottom="2dp" android:left="1dp" android:right="1dp">
<shape android:shape="rectangle" android:dither="true">
<corners android:radius="2dp" />
<solid android:color="@android:color/white" />
- <padding android:bottom="8dp"
- android:left="8dp"
- android:right="8dp"
- android:top="8dp" />
+ <padding android:bottom="2dp" android:left="1dp"/>
</shape>
</item>
</layer-list> \ No newline at end of file