mirror of
https://github.com/alesimula/Murine-launcher.git
synced 2026-10-28 09:43:42 +00:00
BUILD - custom icon colors for debug app
This commit is contained in:
1 parent
de581ab62d
commit
1c0d0d37e6
5 files changed
+19
-4
No files matched your search
@@ -136,6 +136,11 @@ android {
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
// Debug-only resource overrides (e.g. the launcher icon colors), merged over res/
|
||||
debug {
|
||||
res.srcDirs = ['res_debug']
|
||||
}
|
||||
|
||||
main {
|
||||
res.srcDirs = ['res']
|
||||
java.srcDirs = ['src', 'src_plugins' /*, 'tests/shared', 'system_ext', 'tests/multivalentTests/shared', 'systemui_core/shared'*/]
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
<!-- eye, left -->
|
||||
<path
|
||||
android:pathData="m230.1,535 l54.9,-57.1 227.2,188.5 -197,2.7z"
|
||||
android:fillColor="#000000"/>
|
||||
android:fillColor="@color/ic_launcher_eye"/>
|
||||
<!-- eye, right -->
|
||||
<path
|
||||
android:pathData="m794.4,535.2 l-54.9,-57.1 -227.2,188.5 197,2.7z"
|
||||
android:fillColor="#000000"/>
|
||||
android:fillColor="@color/ic_launcher_eye"/>
|
||||
<!-- eye highlight, right -->
|
||||
<path
|
||||
android:pathData="m727.2,558.1c-11.1,6.4 -22.1,13 -33.1,19.5 -3.3,1.9 -7.2,4.4 -6.5,8.9 0.4,13.4 -2.5,26.9 -9.6,38.3 -9.9,17.8 -41,31.4 -61,33.8l32,4.6 12.9,-6.5c8.6,-3.8 17.1,-7.9 24.6,-13.7 8.3,-6.4 15.4,-14.4 21.1,-23.1 11.8,-18.5 16.9,-40.2 19.5,-61.7z"
|
||||
|
||||
@@ -61,11 +61,11 @@
|
||||
<!-- eye, left -->
|
||||
<path
|
||||
android:pathData="m230.1,535 l54.9,-57.1 227.2,188.5 -197,2.7z"
|
||||
android:fillColor="#000000"/>
|
||||
android:fillColor="@color/ic_launcher_eye"/>
|
||||
<!-- eye, right -->
|
||||
<path
|
||||
android:pathData="m794.4,535.2 l-54.9,-57.1 -227.2,188.5 197,2.7z"
|
||||
android:fillColor="#000000"/>
|
||||
android:fillColor="@color/ic_launcher_eye"/>
|
||||
<!-- eye highlight, right -->
|
||||
<path
|
||||
android:pathData="m727.2,558.1c-11.1,6.4 -22.1,13 -33.1,19.5 -3.3,1.9 -7.2,4.4 -6.5,8.9 0.4,13.4 -2.5,26.9 -9.6,38.3 -9.9,17.8 -41,31.4 -61,33.8l32,4.6 12.9,-6.5c8.6,-3.8 17.1,-7.9 24.6,-13.7 8.3,-6.4 15.4,-14.4 21.1,-23.1 11.8,-18.5 16.9,-40.2 19.5,-61.7z"
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
<!-- Background gradient, shared by ic_launcher_background and ic_launcher_legacy -->
|
||||
<color name="ic_launcher_gradient_start">#960EFC</color>
|
||||
<color name="ic_launcher_gradient_end">#FF804A</color>
|
||||
<!-- Eyes, shared by ic_launcher_foreground and ic_launcher_legacy -->
|
||||
<color name="ic_launcher_eye">#000000</color>
|
||||
|
||||
<!-- Head outline plus brow and muzzle, shared by ic_launcher_foreground, ic_launcher_monochrome and ic_launcher_legacy -->
|
||||
<!-- See below for (commented) decoupled version -->
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Debug build only (see sourceSets in build.gradle): recolors the launcher icon so it's told apart
|
||||
from the release one. Overrides the colors in res/values/ic_launcher.xml -->
|
||||
<resources>
|
||||
<color name="ic_launcher_gradient_start">#1A1A2E</color>
|
||||
<color name="ic_launcher_gradient_end">#4A4E69</color>
|
||||
<color name="ic_launcher_eye">#4C000E</color>
|
||||
</resources>
|
||||
Reference in new issue
Block a user