diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9a636491..255d0596 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 00000000..65fd03cb 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 00000000..e6b36b2b 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 0a83d018..db520e5c 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 8fc26c9e..f912c3df 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 00000000..25f4060a 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 00000000..b3823828 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 00000000..8ed1d1cd --- /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 86956241..aca80a6f 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" > - +