diff --git a/res/layout/album_thumbnail_2.xml b/res/layout/album_thumbnail_2.xml
index 8750abd1eb..3fad6e678e 100644
--- a/res/layout/album_thumbnail_2.xml
+++ b/res/layout/album_thumbnail_2.xml
@@ -4,19 +4,19 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/album_thumbnail_root"
android:orientation="horizontal"
- android:layout_width="300dp"
- android:layout_height="150dp">
+ android:layout_width="@dimen/album_total_width"
+ android:layout_height="@dimen/album_2_total_height">
diff --git a/res/layout/album_thumbnail_3.xml b/res/layout/album_thumbnail_3.xml
index 64b7b55ea8..9a3bde7542 100644
--- a/res/layout/album_thumbnail_3.xml
+++ b/res/layout/album_thumbnail_3.xml
@@ -3,26 +3,26 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/album_thumbnail_root"
- android:layout_width="300dp"
- android:layout_height="200dp">
+ android:layout_width="@dimen/album_total_width"
+ android:layout_height="@dimen/album_3_total_height">
diff --git a/res/layout/album_thumbnail_4.xml b/res/layout/album_thumbnail_4.xml
index 205148365e..9b28e18316 100644
--- a/res/layout/album_thumbnail_4.xml
+++ b/res/layout/album_thumbnail_4.xml
@@ -3,33 +3,33 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/album_thumbnail_root"
- android:layout_width="300dp"
- android:layout_height="300dp">
+ android:layout_width="@dimen/album_total_width"
+ android:layout_height="@dimen/album_4_total_height">
diff --git a/res/layout/album_thumbnail_5.xml b/res/layout/album_thumbnail_5.xml
index 2347e9b33b..70ef5524dc 100644
--- a/res/layout/album_thumbnail_5.xml
+++ b/res/layout/album_thumbnail_5.xml
@@ -3,40 +3,40 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/album_thumbnail_root"
- android:layout_width="300dp"
- android:layout_height="250dp">
+ android:layout_width="@dimen/album_total_width"
+ android:layout_height="@dimen/album_5_total_height">
diff --git a/res/layout/album_thumbnail_many.xml b/res/layout/album_thumbnail_many.xml
index 004ee8323c..b8533d4532 100644
--- a/res/layout/album_thumbnail_many.xml
+++ b/res/layout/album_thumbnail_many.xml
@@ -4,39 +4,39 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/album_thumbnail_root"
- android:layout_width="300dp"
- android:layout_height="250dp">
+ android:layout_width="@dimen/album_total_width"
+ android:layout_height="@dimen/album_5_total_height">
-
- 240dp
- 300dp
-
\ No newline at end of file
diff --git a/res/values-sw360dp/dimens.xml b/res/values-sw360dp/dimens.xml
new file mode 100644
index 0000000000..c361548af8
--- /dev/null
+++ b/res/values-sw360dp/dimens.xml
@@ -0,0 +1,14 @@
+
+
+ 252dp
+ 126dp
+ 125dp
+ 168dp
+ 167dp
+ 83dp
+ 252dp
+ 125dp
+ 210dp
+ 125dp
+ 83dp
+
\ No newline at end of file
diff --git a/res/values-sw400dp/dimens.xml b/res/values-sw400dp/dimens.xml
new file mode 100644
index 0000000000..aee99d8491
--- /dev/null
+++ b/res/values-sw400dp/dimens.xml
@@ -0,0 +1,14 @@
+
+
+ 300dp
+ 150dp
+ 149dp
+ 200dp
+ 199dp
+ 99dp
+ 300dp
+ 149dp
+ 250dp
+ 149dp
+ 99dp
+
\ No newline at end of file
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 198b7dc713..48587df74f 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -17,7 +17,18 @@
64dp
50dp
-
+ 210dp
+ 105dp
+ 104dp
+ 140dp
+ 139dp
+ 69dp
+ 210dp
+ 104dp
+ 175dp
+ 104dp
+ 69dp
+
16dp
4dp
2dp