diff options
Diffstat (limited to 'res/values/lineage_adaptive_icons.xml')
-rw-r--r-- | res/values/lineage_adaptive_icons.xml | 50 |
1 files changed, 50 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2017 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <!-- Default icon pack package name. Override to set a default icon pack, use "Default" to use system icons --> + <string name="icon_pack_default" translatable="false">Default</string> + + <string name="icon_shape_default" translatable="false">@string/mask_path_circle</string> + + <!-- Masks names --> + <string-array name="icon_shape_entries" translatable="false"> + <item>@string/icon_shape_circle_name</item> + <item>@string/icon_shape_square_name</item> + <item>@string/icon_shape_squircle_name</item> + <item>@string/icon_shape_teardrop_name</item> + </string-array> + + <!-- Mask paths references --> + <string-array name="icon_shape_paths" translatable="false"> + <item>@string/mask_path_circle</item> + <item>@string/mask_path_square</item> + <item>@string/mask_path_squircle</item> + <item>@string/mask_path_teardrop</item> + </string-array> + + <!-- Circle: default --> + <string name="mask_path_circle" translatable="false">"M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0"</string> + <!-- Rounded square --> + <string name="mask_path_square" translatable="false">"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"</string> + <!-- Straight square: disabled --> + <string name="mask_path_straight_square" translatable="false">"M50,0L100,0 100,100 0,100 0,0z"</string> + <!-- Squircle --> + <string name="mask_path_squircle" translatable="false">"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"</string> + <!-- Teardrop --> + <string name="mask_path_teardrop" translatable="false">"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"</string> +</resources>
\ No newline at end of file |