aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2014-08-17 13:01:21 +0200
committerzeapo <mohamed@zenadi.com>2014-08-17 13:01:21 +0200
commit6958ba5eed02d0b3dc209e091c16688e3be2a4ca (patch)
tree4f6af3ee045989b12ea08563c60f0caeb5654421 /app/src
parent5b4d2304bcdf50633cb919602b91390b691af5f3 (diff)
refactoring and some styling
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/drawable-xxhdpi/blue_rectangle.xml24
-rw-r--r--app/src/main/res/drawable-xxhdpi/gray_rectangle.xml24
-rw-r--r--app/src/main/res/drawable-xxhdpi/oval.xml37
-rw-r--r--app/src/main/res/drawable-xxhdpi/rectangle.xml24
-rw-r--r--app/src/main/res/drawable-xxhdpi/red_rectangle.xml24
-rw-r--r--app/src/main/res/values/styles.xml9
6 files changed, 8 insertions, 134 deletions
diff --git a/app/src/main/res/drawable-xxhdpi/blue_rectangle.xml b/app/src/main/res/drawable-xxhdpi/blue_rectangle.xml
deleted file mode 100644
index 61cb44f5..00000000
--- a/app/src/main/res/drawable-xxhdpi/blue_rectangle.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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-xxhdpi/gray_rectangle.xml b/app/src/main/res/drawable-xxhdpi/gray_rectangle.xml
deleted file mode 100644
index b1858c80..00000000
--- a/app/src/main/res/drawable-xxhdpi/gray_rectangle.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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-xxhdpi/oval.xml b/app/src/main/res/drawable-xxhdpi/oval.xml
deleted file mode 100644
index d2149d04..00000000
--- a/app/src/main/res/drawable-xxhdpi/oval.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?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-xxhdpi/rectangle.xml b/app/src/main/res/drawable-xxhdpi/rectangle.xml
deleted file mode 100644
index 1f88f6df..00000000
--- a/app/src/main/res/drawable-xxhdpi/rectangle.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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-xxhdpi/red_rectangle.xml b/app/src/main/res/drawable-xxhdpi/red_rectangle.xml
deleted file mode 100644
index a6c48d0f..00000000
--- a/app/src/main/res/drawable-xxhdpi/red_rectangle.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index e0c5aaeb..fa4c64dc 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -2,7 +2,14 @@
<!-- Base application theme. -->
<style name="AppTheme" parent="android:Theme.Holo.Light">
- <!-- Customize your theme here. -->
+ <item name="android:actionBarStyle">@style/MyActionBar</item>
+ </style>
+
+
+ <!-- ActionBar styles -->
+ <style name="MyActionBar"
+ parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
+ <item name="android:background">@drawable/actionbar_background</item>
</style>
</resources>