From 523c12ffac7fb3a79458e56f9439a070b8930d6a Mon Sep 17 00:00:00 2001 From: Joey Rizzoli Date: Sat, 2 Dec 2017 17:31:32 +0100 Subject: Trebuchet: initial icon shape exposure for future extension Change-Id: I76a571ce2b53214ef197a5164f584cb4dc2d3ecf Signed-off-by: Joey Rizzoli --- res/values/lineage_adaptive_icons.xml | 50 +++++++++++++++++++++++++++++++++++ res/values/lineage_strings.xml | 7 +++-- res/xml/launcher_preferences.xml | 6 ++--- 3 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 res/values/lineage_adaptive_icons.xml (limited to 'res') diff --git a/res/values/lineage_adaptive_icons.xml b/res/values/lineage_adaptive_icons.xml new file mode 100644 index 000000000..544677eee --- /dev/null +++ b/res/values/lineage_adaptive_icons.xml @@ -0,0 +1,50 @@ + + + + + + Default + + @string/mask_path_circle + + + + @string/icon_shape_circle_name + @string/icon_shape_square_name + @string/icon_shape_squircle_name + @string/icon_shape_teardrop_name + + + + + @string/mask_path_circle + @string/mask_path_square + @string/mask_path_squircle + @string/mask_path_teardrop + + + + "M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0" + + "M50,0L92,0C96.42,0 100,4.58 100 8L100,92C100, 96.42 96.42 100 92 100L8 100C4.58, 100 0 96.42 0 92L0 8 C 0 4.42 4.42 0 8 0L50 0Z" + + "M50,0L100,0 100,100 0,100 0,0z" + + "M50,0 C10,0 0,10 0,50 0,90 10,100 50,100 90,100 100,90 100,50 100,10 90,0 50,0 Z" + + "M50,0A50,50,0,0 1 100,50 L100,85 A15,15,0,0 1 85,100 L50,100 A50,50,0,0 1 50,0z" + \ No newline at end of file diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml index a03ccec17..afe0ad2df 100644 --- a/res/values/lineage_strings.xml +++ b/res/values/lineage_strings.xml @@ -51,8 +51,11 @@ Reset System (Default) - - Default + + Square + Circle + Squircle + Teardrop Home screen settings diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index a130e3c07..f4d7831f1 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -72,9 +72,9 @@ android:title="@string/settings_category_icons">