diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml old mode 100644 new mode 100755 index 15119a0..4862da9 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,19 +12,33 @@ android:supportsRtl="true" android:theme="@style/AppTheme"> - - + - - - - + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/list_row.xml b/app/src/main/res/drawable/list_row.xml old mode 100644 new mode 100755 index 76634ed..087a0f1 --- a/app/src/main/res/drawable/list_row.xml +++ b/app/src/main/res/drawable/list_row.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/layout/counter.xml b/app/src/main/res/layout/counter.xml old mode 100644 new mode 100755 index 6a4d183..a5ad75e --- a/app/src/main/res/layout/counter.xml +++ b/app/src/main/res/layout/counter.xml @@ -8,13 +8,12 @@ android:id="@+id/donut_progress" android:layout_width="match_parent" android:layout_height="match_parent" - android:elevation="4dp" - custom:donut_finished_color="#000" + custom:donut_finished_color="@color/black" custom:donut_finished_stroke_width="10dp" custom:donut_max="33" custom:donut_progress="15" custom:donut_text="" - custom:donut_unfinished_color="@android:color/darker_gray" + custom:donut_unfinished_color="@color/gray" custom:donut_unfinished_stroke_width="10dp" /> + custom:circle_unfinished_color="@color/black" /> + tools:context=".scenes.CreateCounter"> - - + android:layout_height="?actionBarSize" + android:layout_alignParentTop="true" + android:background="?attr/colorPrimaryDark" + android:elevation="4dp" /> + android:padding="10dp"> + android:paddingTop="5dp" + android:text="@string/label_name" + android:textColor="@color/black" /> + android:maxLines="1" + android:padding="5dp" + android:textColor="@color/black" + android:textColorHint="@color/gray" /> + android:paddingTop="15dp" + android:text="@string/label_memo" + android:textColor="@color/black" /> + android:padding="5dp" + android:textColor="@color/black" + android:textColorHint="@color/gray" /> diff --git a/app/src/main/res/layout/counter_details.xml b/app/src/main/res/layout/counter_details.xml old mode 100644 new mode 100755 index 2b74e75..7284a39 --- a/app/src/main/res/layout/counter_details.xml +++ b/app/src/main/res/layout/counter_details.xml @@ -3,17 +3,16 @@ xmlns:ads="http://schemas.android.com/apk/res-auto" xmlns:custom="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/activity_counter_active" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context="pk.aspirasoft.tasbih.scenes.ActiveCounter"> + tools:context=".scenes.ActiveCounter"> @@ -49,7 +48,7 @@ android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:text="@string/label_memo" - android:textColor="#000" + android:textColor="@color/black" android:textStyle="bold" /> @@ -98,7 +97,6 @@ android:id="@+id/counter" android:layout_width="250dp" android:layout_height="250dp" - android:elevation="4dp" custom:max="33" custom:progress="0" /> diff --git a/app/src/main/res/layout/drawer.xml b/app/src/main/res/layout/drawer.xml old mode 100644 new mode 100755 index 4226e54..44d6019 --- a/app/src/main/res/layout/drawer.xml +++ b/app/src/main/res/layout/drawer.xml @@ -1,35 +1,30 @@ + tools:context=".scenes.CounterDrawer"> - - + android:layout_height="?actionBarSize" + android:layout_alignParentTop="true" + android:background="?attr/colorPrimaryDark" + android:elevation="4dp" /> + android:layout_above="@id/adView" + android:layout_below="@+id/actionBar"> - - + android:orientation="vertical" /> @@ -40,6 +35,6 @@ android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" ads:adSize="BANNER" - ads:adUnitId="@string/ad_unit_id"/> + ads:adUnitId="@string/ad_unit_id" /> - + \ No newline at end of file diff --git a/app/src/main/res/layout/drawer_grid_cell.xml b/app/src/main/res/layout/drawer_grid_cell.xml old mode 100644 new mode 100755 index 27b65a8..c6ab97d --- a/app/src/main/res/layout/drawer_grid_cell.xml +++ b/app/src/main/res/layout/drawer_grid_cell.xml @@ -3,23 +3,23 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:orientation="vertical" - android:gravity="center"> + android:gravity="center" + android:orientation="vertical"> + android:contentDescription="Thumbnail of the counter." + android:scaleType="centerInside" /> + android:text="Counter Title" + android:textColor="#fff" /> \ No newline at end of file diff --git a/app/src/main/res/layout/drawer_list_item.xml b/app/src/main/res/layout/drawer_list_item.xml old mode 100644 new mode 100755 index 3f9d88e..4765591 --- a/app/src/main/res/layout/drawer_list_item.xml +++ b/app/src/main/res/layout/drawer_list_item.xml @@ -21,7 +21,7 @@ android:gravity="center" android:maxLines="1" android:text="@string/label_name" - android:textColor="#000" + android:textColor="@color/black" android:textSize="18sp" android:textStyle="bold" /> @@ -31,9 +31,9 @@ android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center_vertical|end" - android:maxLines="2" + android:maxLines="1" android:text="0" - android:textColor="#333" + android:textColor="@color/charcoal" android:textSize="12sp" android:textStyle="normal" /> diff --git a/app/src/main/res/layout/drawer_row.xml b/app/src/main/res/layout/drawer_row.xml old mode 100644 new mode 100755 index 76e5ac2..2c7ba66 --- a/app/src/main/res/layout/drawer_row.xml +++ b/app/src/main/res/layout/drawer_row.xml @@ -2,8 +2,6 @@ - - \ No newline at end of file + android:weightSum="3" /> \ No newline at end of file diff --git a/app/src/main/res/menu/counter.xml b/app/src/main/res/menu/counter.xml old mode 100644 new mode 100755 index 03aceed..5a3171e --- a/app/src/main/res/menu/counter.xml +++ b/app/src/main/res/menu/counter.xml @@ -2,13 +2,15 @@ - + android:title="@string/hint_reset" + app:showAsAction="ifRoom" /> - + android:title="@string/hint_delete" + app:showAsAction="ifRoom" /> \ No newline at end of file diff --git a/app/src/main/res/menu/create_counter.xml b/app/src/main/res/menu/create_counter.xml old mode 100644 new mode 100755 index a26b923..e43fe92 --- a/app/src/main/res/menu/create_counter.xml +++ b/app/src/main/res/menu/create_counter.xml @@ -2,8 +2,9 @@ - + app:showAsAction="always" /> \ No newline at end of file diff --git a/app/src/main/res/menu/home.xml b/app/src/main/res/menu/home.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 5db61df..a41a12a 100755 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,7 +1,10 @@ - #C18D19 - #db3c15 - #12A3C9 + #ff6d00 + #bf360c + #00acc1 + #000000 + #263238 + #9e9e9e #FFFFFF - + \ No newline at end of file diff --git a/app/src/main/res/values/integers.xml b/app/src/main/res/values/integers.xml old mode 100644 new mode 100755 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml old mode 100644 new mode 100755