diff --git a/app/build.gradle b/app/build.gradle index 34a2421b9..c281df885 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -198,3 +198,7 @@ task copyLicense(type: Copy) { preBuild.dependsOn copyLicense +apply plugin: 'de.timfreiheit.resourceplaceholders.plugin' +resourcePlaceholders { + files = ['xml/shortcuts.xml'] +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3f0df81f1..31b832b26 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -64,6 +64,10 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build.gradle b/build.gradle index 88273960d..724f54d62 100644 --- a/build.gradle +++ b/build.gradle @@ -3,10 +3,12 @@ buildscript { google() jcenter() mavenCentral() + maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5' + classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.3' } } diff --git a/core/src/main/res/drawable-anydpi-v26/ic_feed_shortcut.xml b/core/src/main/res/drawable-anydpi-v26/ic_feed_shortcut.xml new file mode 100644 index 000000000..ae080d335 --- /dev/null +++ b/core/src/main/res/drawable-anydpi-v26/ic_feed_shortcut.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable-anydpi-v26/ic_folder_shortcut.xml b/core/src/main/res/drawable-anydpi-v26/ic_folder_shortcut.xml new file mode 100644 index 000000000..0ee30ab73 --- /dev/null +++ b/core/src/main/res/drawable-anydpi-v26/ic_folder_shortcut.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable-anydpi-v26/ic_playlist_shortcut.xml b/core/src/main/res/drawable-anydpi-v26/ic_playlist_shortcut.xml new file mode 100644 index 000000000..60f95db32 --- /dev/null +++ b/core/src/main/res/drawable-anydpi-v26/ic_playlist_shortcut.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable-anydpi-v26/ic_refresh_shortcut.xml b/core/src/main/res/drawable-anydpi-v26/ic_refresh_shortcut.xml new file mode 100644 index 000000000..1a7752443 --- /dev/null +++ b/core/src/main/res/drawable-anydpi-v26/ic_refresh_shortcut.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable/ic_feed_shortcut.xml b/core/src/main/res/drawable/ic_feed_shortcut.xml new file mode 100644 index 000000000..fa5a0267c --- /dev/null +++ b/core/src/main/res/drawable/ic_feed_shortcut.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable/ic_folder_shortcut.xml b/core/src/main/res/drawable/ic_folder_shortcut.xml new file mode 100644 index 000000000..2906c2795 --- /dev/null +++ b/core/src/main/res/drawable/ic_folder_shortcut.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable/ic_playlist_shortcut.xml b/core/src/main/res/drawable/ic_playlist_shortcut.xml new file mode 100644 index 000000000..d2b5815d9 --- /dev/null +++ b/core/src/main/res/drawable/ic_playlist_shortcut.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/core/src/main/res/drawable/ic_refresh_shortcut.xml b/core/src/main/res/drawable/ic_refresh_shortcut.xml new file mode 100644 index 000000000..2f1b37337 --- /dev/null +++ b/core/src/main/res/drawable/ic_refresh_shortcut.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/core/src/main/res/drawable/ic_shortcut_background.xml b/core/src/main/res/drawable/ic_shortcut_background.xml new file mode 100644 index 000000000..9327150d0 --- /dev/null +++ b/core/src/main/res/drawable/ic_shortcut_background.xml @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index efbc75f34..d3813235f 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -2,6 +2,7 @@ #FFFFFF + #f5f5f5 #757575 #bfbfbf #000000