diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9a6364911..255d05967 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -14,7 +14,7 @@
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
- android:theme="@android:style/Theme.Holo.Light" >
+ android:theme="@style/AppTheme" >
diff --git a/res/drawable-hdpi/ic_action_add_dark.png b/res/drawable-hdpi/ic_action_add_dark.png
new file mode 100644
index 000000000..65fd03cb1
Binary files /dev/null and b/res/drawable-hdpi/ic_action_add_dark.png differ
diff --git a/res/drawable-mdpi/ic_action_add_dark.png b/res/drawable-mdpi/ic_action_add_dark.png
new file mode 100644
index 000000000..e6b36b2b0
Binary files /dev/null and b/res/drawable-mdpi/ic_action_add_dark.png differ
diff --git a/res/drawable-v21/habits_item_check_normal.xml b/res/drawable-v21/habits_item_check_normal.xml
index 0a83d0180..db520e5c8 100644
--- a/res/drawable-v21/habits_item_check_normal.xml
+++ b/res/drawable-v21/habits_item_check_normal.xml
@@ -10,10 +10,10 @@
-
+ android:top="1dp">
diff --git a/res/drawable-v21/habits_item_check_pressed.xml b/res/drawable-v21/habits_item_check_pressed.xml
index 8fc26c9e2..f912c3dfc 100644
--- a/res/drawable-v21/habits_item_check_pressed.xml
+++ b/res/drawable-v21/habits_item_check_pressed.xml
@@ -10,10 +10,10 @@
-
+ android:top="1dp">
diff --git a/res/drawable-xhdpi/ic_action_add_dark.png b/res/drawable-xhdpi/ic_action_add_dark.png
new file mode 100644
index 000000000..25f4060a9
Binary files /dev/null and b/res/drawable-xhdpi/ic_action_add_dark.png differ
diff --git a/res/drawable-xxhdpi/ic_action_add_dark.png b/res/drawable-xxhdpi/ic_action_add_dark.png
new file mode 100644
index 000000000..b38238286
Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_add_dark.png differ
diff --git a/res/drawable/ripple_background.xml b/res/drawable/ripple_background.xml
new file mode 100644
index 000000000..8ed1d1cd1
--- /dev/null
+++ b/res/drawable/ripple_background.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/res/layout/edit_habit.xml b/res/layout/edit_habit.xml
index 869562410..aca80a6f3 100644
--- a/res/layout/edit_habit.xml
+++ b/res/layout/edit_habit.xml
@@ -4,6 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
+ android:paddingBottom="8dp"
tools:context="org.isoron.uhabits.dialogs.EditHabitFragment"
tools:ignore="MergeRootFrame" >
@@ -13,7 +14,9 @@
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:orientation="vertical"
- android:padding="8dp" >
+ android:paddingLeft="24dp"
+ android:paddingRight="24dp"
+ >
@@ -55,6 +57,7 @@
@@ -126,37 +129,36 @@
-
-
-
-
-
-
-
+ android:layout_height="48dp"
+ android:gravity="end"
+ android:onClick="onClick"
+ android:paddingRight="16dp"
+ android:paddingLeft="16dp"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:orientation="horizontal" >
+
+
+
+
\ No newline at end of file
diff --git a/res/layout/show_habits.xml b/res/layout/show_habits.xml
index 6ae165685..a0b0e1d0b 100644
--- a/res/layout/show_habits.xml
+++ b/res/layout/show_habits.xml
@@ -17,8 +17,8 @@
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:divider="#00000000"
- android:dividerHeight="0dp"
+ android:divider="#10000000"
+ android:dividerHeight="1dp"
dslv:drag_enabled="true"
dslv:drag_handle_id="@drawable/habits_header_check"
dslv:drag_start_mode="onMove"
@@ -31,7 +31,10 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:background="@drawable/habits_header" >
+ android:elevation="2dp"
+ android:background="#ffffff"
+ android:paddingRight="4dp"
+ >
+ android:textSize="10sp"
+ android:textColor="#606060" />
diff --git a/res/layout/show_habits_item.xml b/res/layout/show_habits_item.xml
index 9117cec96..d5a9a3489 100644
--- a/res/layout/show_habits_item.xml
+++ b/res/layout/show_habits_item.xml
@@ -2,34 +2,48 @@
+ android:orientation="horizontal"
+ android:paddingTop="0dp"
+ android:paddingBottom="4dp"
+ android:paddingLeft="4dp"
+ android:paddingRight="4dp"
+ >
-
-
-
+ android:background="@drawable/ripple_background"
+ android:elevation="1dp" >
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/layout/show_habits_item_check.xml b/res/layout/show_habits_item_check.xml
index 9ef5bf3ae..555432cec 100644
--- a/res/layout/show_habits_item_check.xml
+++ b/res/layout/show_habits_item_check.xml
@@ -1,10 +1,8 @@
-
+ android:focusable="false"
+ android:minHeight="42dp"
+ android:minWidth="42dp"
+ android:gravity="center"
+ android:background="@drawable/ripple_background" />
diff --git a/res/menu-v21/show_habits_options.xml b/res/menu-v21/show_habits_options.xml
new file mode 100644
index 000000000..82a785a94
--- /dev/null
+++ b/res/menu-v21/show_habits_options.xml
@@ -0,0 +1,9 @@
+
diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml
deleted file mode 100644
index 3c02242ad..000000000
--- a/res/values-v11/styles.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml
deleted file mode 100644
index a91fd0372..000000000
--- a/res/values-v14/styles.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
diff --git a/res/values-v21/styles.xml b/res/values-v21/styles.xml
new file mode 100644
index 000000000..0eb5745ff
--- /dev/null
+++ b/res/values-v21/styles.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 5b8ff0762..29dfb1ee9 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -15,8 +15,14 @@
limitations under the License.
-->
+
+ #00517b
+ #003d5d
+ #9a4000
#ffffff
+ #cccccc
+
#f2f2f2
#cccccc
#8c8c8c
@@ -24,6 +30,7 @@
#cccccc
#8c8c8c
+ #00000000
#7f000000
#33b5e5
#c1e8f7
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index ea8d92559..2bf30f0a3 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -49,5 +49,4 @@
16sp
64dp
22dp
-
\ No newline at end of file
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d5df99856..d7da8cd0c 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -1,21 +1,8 @@
-
-
-
-
+
+