diff --git a/app/build.gradle b/app/build.gradle
index a8cdcf91a..7370067dd 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -32,7 +32,7 @@ android {
}
dependencies {
- compile 'com.simplemobiletools:commons:2.0.0'
+ compile 'com.simplemobiletools:commons:2.0.1'
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
compile 'com.booking:rtlviewpager:1.0.1'
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index 9122be9e4..d901fc20f 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -15,7 +15,7 @@
android:id="@+id/settings_customize_colors_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/settings_padding"
+ android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
@@ -24,8 +24,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
- android:paddingLeft="@dimen/settings_padding"
- android:paddingStart="@dimen/settings_padding"
+ android:paddingLeft="@dimen/medium_margin"
+ android:paddingStart="@dimen/medium_margin"
android:text="@string/customize_colors"/>
@@ -34,7 +34,7 @@
android:id="@+id/settings_same_sorting_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/settings_padding"
+ android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
@@ -44,8 +44,8 @@
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
- android:paddingLeft="@dimen/settings_padding"
- android:paddingStart="@dimen/settings_padding"
+ android:paddingLeft="@dimen/medium_margin"
+ android:paddingStart="@dimen/medium_margin"
android:text="@string/same_sorting"/>
@@ -54,7 +54,7 @@
android:id="@+id/settings_show_hidden_folders_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/settings_padding"
+ android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
@@ -64,8 +64,8 @@
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
- android:paddingLeft="@dimen/settings_padding"
- android:paddingStart="@dimen/settings_padding"
+ android:paddingLeft="@dimen/medium_margin"
+ android:paddingStart="@dimen/medium_margin"
android:text="@string/show_hidden_folders"/>
@@ -74,7 +74,7 @@
android:id="@+id/settings_autoplay_videos_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/settings_padding"
+ android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
@@ -84,8 +84,8 @@
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
- android:paddingLeft="@dimen/settings_padding"
- android:paddingStart="@dimen/settings_padding"
+ android:paddingLeft="@dimen/medium_margin"
+ android:paddingStart="@dimen/medium_margin"
android:text="@string/autoplay_videos"/>
@@ -94,10 +94,10 @@
android:id="@+id/settings_show_media_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/settings_padding"
+ android:layout_marginTop="@dimen/medium_margin"
android:paddingBottom="@dimen/activity_margin"
android:paddingLeft="@dimen/activity_margin"
- android:paddingRight="@dimen/settings_padding"
+ android:paddingRight="@dimen/medium_margin"
android:paddingTop="@dimen/activity_margin">
@@ -56,9 +56,9 @@
+ android:layout_marginBottom="@dimen/medium_margin"
+ android:layout_marginTop="@dimen/medium_margin"
+ android:background="@color/divider_grey"/>
diff --git a/app/src/main/res/layout/dialog_copy_move.xml b/app/src/main/res/layout/dialog_copy_move.xml
index 909b21363..8caf702c0 100644
--- a/app/src/main/res/layout/dialog_copy_move.xml
+++ b/app/src/main/res/layout/dialog_copy_move.xml
@@ -14,7 +14,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/source"
- android:textSize="@dimen/details_text_size"/>
+ android:textSize="@dimen/smaller_text_size"/>
+ android:paddingRight="@dimen/small_margin"
+ android:paddingTop="@dimen/small_margin"/>
+ android:textSize="@dimen/smaller_text_size"/>
+ android:textSize="@dimen/smaller_text_size"/>
+ android:paddingRight="@dimen/small_margin"
+ android:paddingTop="@dimen/small_margin"/>
+ android:paddingBottom="@dimen/small_margin"
+ android:paddingLeft="@dimen/medium_margin"
+ android:paddingRight="@dimen/medium_margin"
+ android:paddingTop="@dimen/small_margin">
diff --git a/app/src/main/res/layout/photo_video_item.xml b/app/src/main/res/layout/photo_video_item.xml
index 374fe0159..5bab01fde 100644
--- a/app/src/main/res/layout/photo_video_item.xml
+++ b/app/src/main/res/layout/photo_video_item.xml
@@ -28,10 +28,10 @@
android:gravity="bottom"
android:maxLines="3"
android:minHeight="@dimen/play_outline_size"
- android:paddingBottom="@dimen/small_padding"
- android:paddingLeft="@dimen/small_padding"
- android:paddingRight="@dimen/small_padding"
+ android:paddingBottom="@dimen/small_margin"
+ android:paddingLeft="@dimen/small_margin"
+ android:paddingRight="@dimen/small_margin"
android:textColor="@android:color/white"
- android:textSize="@dimen/details_text_size"/>
+ android:textSize="@dimen/smaller_text_size"/>
diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml
index 4f23bc132..5336b47df 100644
--- a/app/src/main/res/values-sw600dp/dimens.xml
+++ b/app/src/main/res/values-sw600dp/dimens.xml
@@ -4,12 +4,6 @@
30dp
60dp
240dp
- 16dp
32dp
- 12dp
- 50dp
60dp
- 64dp
-
- 18sp
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 68a2d221e..85ba857cd 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,11 +1,7 @@
- #fff68630
- #ffe27725
- @color/colorPrimary
#ff222222
#AA000000
- #aa888888
#FFEDEDED
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 52566ba0d..aa4938e3f 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -1,21 +1,9 @@
- 16dp
- 2dp
- 4dp
- 8dp
150dp
100dp
20dp
40dp
160dp
- 8dp
24dp
- 8dp
- 40dp
50dp
- 56dp
- 8dp
-
- 12sp
- 14sp
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index fe13ec8d9..4491c93ad 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -1,9 +1,9 @@