summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-03-31 20:09:34 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-04-04 12:33:59 -0700
commitca18746163621211847a2f184d19a6b3e2b4a1c0 (patch)
tree4dcebc131b550ef51b79248a14fc0c39afff0d8d /res/xml
parent2f54a1625ae031ffbb2a99a00c7b25de3c677828 (diff)
downloadandroid_packages_apps_Trebuchet-ca18746163621211847a2f184d19a6b3e2b4a1c0.tar.gz
android_packages_apps_Trebuchet-ca18746163621211847a2f184d19a6b3e2b4a1c0.tar.bz2
android_packages_apps_Trebuchet-ca18746163621211847a2f184d19a6b3e2b4a1c0.zip
Adding support for dynamically change icon shape for AdaptiveIcons
> This would allow developers to verify their icon designs on different device configurations > This settings is only visible when developer settings is enabled Change-Id: I7e32abfede001c134f23390734dcd39c93b68b9a
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/launcher_preferences.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index a16583d2c..301bef104 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -30,4 +30,14 @@
android:defaultValue="true"
android:persistent="true"
/>
+
+ <ListPreference
+ android:key="pref_override_icon_shape"
+ android:title="@string/icon_shape_override_label"
+ android:summary="%s"
+ android:entries="@array/icon_shape_override_paths_names"
+ android:entryValues="@array/icon_shape_override_paths_values"
+ android:defaultValue=""
+ android:persistent="false" />
+
</PreferenceScreen>