aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2014-08-17 14:27:40 +0200
committerzeapo <mohamed@zenadi.com>2014-08-17 14:27:40 +0200
commit68623dcf8d0fabd121cf7c34ecb4dafe9478cceb (patch)
tree4ae7e1f93f50160654a1c80e5e466fbee973395f /app/src/main/res/drawable
parent2c680cab593b6c58988e058c1c775fa9c1476b28 (diff)
ui improvements
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/actionbar_background.xml4
-rw-r--r--app/src/main/res/drawable/blue_rectangle.xml24
-rw-r--r--app/src/main/res/drawable/gray_rectangle.xml24
-rw-r--r--app/src/main/res/drawable/oval.xml37
-rw-r--r--app/src/main/res/drawable/rectangle.xml24
-rw-r--r--app/src/main/res/drawable/red_rectangle.xml24
6 files changed, 137 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/actionbar_background.xml b/app/src/main/res/drawable/actionbar_background.xml
new file mode 100644
index 00000000..220eee39
--- /dev/null
+++ b/app/src/main/res/drawable/actionbar_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
+ <solid android:color="@android:color/holo_orange_dark" />
+</shape> \ No newline at end of file
diff --git a/app/src/main/res/drawable/blue_rectangle.xml b/app/src/main/res/drawable/blue_rectangle.xml
new file mode 100644
index 00000000..61cb44f5
--- /dev/null
+++ b/app/src/main/res/drawable/blue_rectangle.xml
@@ -0,0 +1,24 @@
+<?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:radius="2dp"/>
+ <solid android:color="#ccc" />
+
+ </shape>
+ </item>
+
+ <item>
+ <shape android:shape="rectangle" android:dither="true">
+ <corners android:radius="2dp" />
+ <solid android:color="@android:color/holo_blue_light" />
+
+ <padding android:bottom="8dp"
+ android:left="8dp"
+ android:right="8dp"
+ android:top="8dp" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/gray_rectangle.xml b/app/src/main/res/drawable/gray_rectangle.xml
new file mode 100644
index 00000000..b1858c80
--- /dev/null
+++ b/app/src/main/res/drawable/gray_rectangle.xml
@@ -0,0 +1,24 @@
+<?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:radius="2dp"/>
+ <solid android:color="#ccc" />
+
+ </shape>
+ </item>
+
+ <item android:bottom="2dp">
+ <shape android:shape="rectangle" android:dither="true">
+ <corners android:radius="2dp" />
+ <solid android:color="@android:color/darker_gray" />
+
+ <padding android:bottom="8dp"
+ android:left="8dp"
+ android:right="8dp"
+ android:top="8dp" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/oval.xml b/app/src/main/res/drawable/oval.xml
new file mode 100644
index 00000000..d2149d04
--- /dev/null
+++ b/app/src/main/res/drawable/oval.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item>
+ <shape android:shape="oval" android:dither="true">
+ <corners android:radius="2dp"/>
+ <solid android:color="#eee" />
+ <gradient
+ android:startColor="#aaa"
+ android:centerColor="#aaa"
+ android:endColor="@android:color/transparent"
+ android:gradientRadius="55"
+ android:type="radial"
+ />
+
+ <padding android:bottom="5dp"
+ android:left="5dp"
+ android:right="5dp"
+ android:top="5dp" />
+ </shape>
+ </item>
+
+ <item>
+ <shape android:shape="oval" 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" />
+ </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
new file mode 100644
index 00000000..1f88f6df
--- /dev/null
+++ b/app/src/main/res/drawable/rectangle.xml
@@ -0,0 +1,24 @@
+<?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:radius="2dp"/>
+ <solid android:color="#ccc" />
+
+ </shape>
+ </item>
+
+ <item android:bottom="2dp">
+ <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" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/red_rectangle.xml b/app/src/main/res/drawable/red_rectangle.xml
new file mode 100644
index 00000000..a6c48d0f
--- /dev/null
+++ b/app/src/main/res/drawable/red_rectangle.xml
@@ -0,0 +1,24 @@
+<?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:radius="2dp"/>
+ <solid android:color="#ccc" />
+
+ </shape>
+ </item>
+
+ <item>
+ <shape android:shape="rectangle" android:dither="true">
+ <corners android:radius="2dp" />
+ <solid android:color="@android:color/holo_red_light" />
+
+ <padding android:bottom="8dp"
+ android:left="8dp"
+ android:right="8dp"
+ android:top="8dp" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file