Cherish:Add all icons for cherish settings

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-05-30 01:14:34 +07:00
parent 5cd33f929b
commit ee2f393723
36 changed files with 339 additions and 19 deletions

View File

@@ -22,6 +22,7 @@
<ListPreference
android:key="pref_scrollingcache"
android:icon="@drawable/ic_scroll"
android:dialogTitle="@string/pref_scrollingcache_title"
android:title="@string/pref_scrollingcache_title"
android:summary="@string/pref_scrollingcache_summary"
@@ -30,6 +31,7 @@
<ListPreference
android:key="toast_animation"
android:icon="@drawable/ic_toast"
android:title="@string/toast_animation_title"
android:entries="@array/toast_animation_entries"
android:entryValues="@array/toast_animation_values"
@@ -37,6 +39,7 @@
<ListPreference
android:key="listview_animation"
android:icon="@drawable/ic_listview"
android:dialogTitle="@string/listview_animation_title"
android:title="@string/listview_animation_title"
android:entries="@array/listview_animation_entries"
@@ -45,6 +48,7 @@
<ListPreference
android:key="listview_interpolator"
android:icon="@drawable/ic_listview"
android:dialogTitle="@string/listview_interpolator_title"
android:title="@string/listview_interpolator_title"
android:entries="@array/listview_interpolator_entries"
@@ -53,18 +57,20 @@
<ListPreference
android:key="screen_off_animation"
android:icon="@drawable/ic_soff"
android:title="@string/screen_off_animation_title"
android:entries="@array/screen_off_animation_entries"
android:entryValues="@array/screen_off_animation_values"
android:persistent="false"
android:defaultValue="0" />
<PreferenceCategory
<PreferenceCategory
android:key="quick_settings_animations"
android:title="@string/qs_tiles">
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_style"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_animation_style_title"
android:entries="@array/qs_tile_animation_style_entries"
android:entryValues="@array/qs_tile_animation_style_values"
@@ -73,6 +79,7 @@
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_duration"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_animation_duration_title"
android:entries="@array/qs_tile_animation_duration_entries"
android:entryValues="@array/qs_tile_animation_duration_values"
@@ -81,6 +88,7 @@
<com.cherish.settings.preferences.SystemSettingIntListPreference
android:key="anim_tile_interpolator"
android:icon="@drawable/ic_qs_tile"
android:title="@string/qs_tile_animation_interpolator_title"
android:entries="@array/qs_tile_animation_interpolator_entries"
android:entryValues="@array/qs_tile_animation_interpolator_values"

View File

@@ -25,18 +25,21 @@
<Preference
android:key="system_navigation_settings_preferences"
android:title="@string/navbar_gestures_title"
android:icon="@drawable/ic_swipe"
android:summary="@string/navbar_gestures_summary"
android:fragment="com.android.settings.gestures.SystemNavigationGestureSettings"
settings:controller="com.android.settings.gestures.SystemNavigationPreferenceController" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_nav_bar_inverse"
android:icon="@drawable/ic_arrow"
android:title="@string/navigation_bar_invert_layout_title"
android:summary="@string/navigation_bar_invert_layout_summary"
android:defaultValue="false" />
<SwitchPreference
android:key="navigation_bar_show_new"
android:icon="@drawable/ic_arrow"
android:title="@string/navbar_visibility"
android:summary="@string/navbar_vis_summary" />
@@ -55,6 +58,7 @@
<Preference
android:key="volume_key"
android:icon="@drawable/ic_hw"
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"
android:title="@string/volume_title" />
@@ -70,12 +74,14 @@
android:key="button_brightness"
android:title="@string/button_brightness_title"
android:max="100"
android:icon="@drawable/ic_hw"
settings:min="0"
settings:units=""
android:persistent="false" />
<SwitchPreference
android:key="button_brightness_sw"
android:icon="@drawable/ic_hw"
android:title="@string/button_brightness_sw_title"
android:persistent="false" />
@@ -84,6 +90,7 @@
android:entries="@array/backlight_timeout_entries"
android:entryValues="@array/backlight_timeout_values"
android:key="backlight_timeout"
android:persistent="false"
android:title="@string/backlight_timeout_title" />
@@ -95,6 +102,7 @@
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="anbi_enabled_option"
android:icon="@drawable/ic_hw"
android:title="@string/anbi_title"
android:summary="@string/anbi_summary"
android:defaultValue="false" />
@@ -113,12 +121,14 @@
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_back_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
@@ -130,24 +140,28 @@
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_single_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_home_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="allow_incall_home"
android:icon="@drawable/ic_call"
android:title="@string/allow_incall_home_title"
android:summary="@string/allow_incall_home_summary"
android:defaultValue="true" />
@@ -160,18 +174,21 @@
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_single_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_overview_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
@@ -190,12 +207,14 @@
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_menu_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
@@ -208,18 +227,21 @@
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_single_tap"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_single_tap_summary"
android:title="@string/hardware_keys_single_tap_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_long_press"
android:icon="@drawable/ic_hw"
android:summary="@string/hardware_keys_long_press_summary"
android:title="@string/hardware_keys_long_press_title" >
</com.cherish.settings.preferences.ActionPreference>
<com.cherish.settings.preferences.ActionPreference
android:key="hwkeys_button_assist_double_tap"
android:icon="@drawable/ic_tap"
android:summary="@string/hardware_keys_double_tap_summary"
android:title="@string/hardware_keys_double_tap_title" >
</com.cherish.settings.preferences.ActionPreference>

View File

@@ -74,6 +74,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_clock_selection"
android:title="@string/lockscreen_clock_title"
android:icon="@drawable/ic_clock"
android:dialogTitle="@string/lockscreen_clock_dialog_title"
android:entries="@array/lockscreen_clock_titles"
android:entryValues="@array/lockscreen_clock_values"
@@ -82,6 +83,7 @@
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockclock_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/lockclock_font_size_title"
android:max="101"
settings:min="50"
@@ -91,6 +93,7 @@
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="custom_text_clock_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/custom_text_clock_font_size_title"
android:max="50"
settings:min="35"
@@ -103,6 +106,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_date_selection"
android:icon="@drawable/ic_event"
android:title="@string/lockscreen_date_selection_title"
android:dialogTitle="@string/lockscreen_date_dialog_title"
android:entries="@array/lockscreen_date_selection_entries"
@@ -112,6 +116,7 @@
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockdate_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/lockdate_font_size_title"
android:max="25"
settings:min="10"
@@ -124,6 +129,7 @@
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="lockowner_font_size"
android:icon="@drawable/ic_font_size"
android:title="@string/lockowner_font_size_title"
android:max="25"
settings:min="10"
@@ -136,6 +142,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="center_text_clock"
android:icon="@drawable/ic_align"
android:title="@string/center_text_clock_title"
android:dialogTitle="@string/center_text_clock_title"
android:entries="@array/lockscreen_item_alignment_entries"
@@ -145,6 +152,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lock_date_alignment"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_date_alignment_title"
android:dialogTitle="@string/lockscreen_date_alignment_title"
android:entries="@array/lockscreen_item_alignment_entries"
@@ -154,6 +162,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lockscreen_weather_alignment"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_weather_alignment_title"
android:dialogTitle="@string/lockscreen_weather_alignment_title"
android:entries="@array/lockscreen_item_alignment_entries"
@@ -163,6 +172,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="lock_ownerinfo_alignment"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_ownerinfo_alignment_title"
android:dialogTitle="@string/lockscreen_ownerinfo_alignment_title"
android:entries="@array/lockscreen_item_alignment_entries"
@@ -172,6 +182,7 @@
<com.cherish.settings.preferences.SecureSettingSeekBarPreference
android:key="lockscreen_item_padding"
android:icon="@drawable/ic_align"
android:title="@string/lockscreen_item_padding_title"
android:defaultValue="35"
android:max="65"
@@ -181,6 +192,7 @@
<PreferenceScreen
android:key="lockscreen_colors"
android:icon="@drawable/ic_accent_picker"
android:title="@string/lockscreen_colors"
android:summary="@string/lockscreen_colors_summary"
android:fragment="com.cherish.settings.fragments.LockColors" />
@@ -206,6 +218,7 @@
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_weather_style"
android:icon="@drawable/ic_night"
android:title="@string/lockscreen_weather_style_title"
android:dialogTitle="@string/lockscreen_weather_style_title"
android:entries="@array/lockscreen_weather_style_entries"
@@ -242,6 +255,7 @@
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_albumart_filter"
android:icon="@drawable/ic_media_art"
android:title="@string/lockscreen_albumart_filter_title"
android:summary="%s"
android:entries="@array/lockscreen_albumart_filter_entries"
@@ -251,6 +265,7 @@
<Preference
android:key="keygaurd_batterybar"
android:icon="@drawable/ic_battery_info"
android:title="@string/keyguard_show_battery_title"
android:summary="@string/keyguard_show_battery_summary"
android:fragment="com.cherish.settings.fragments.KeygaurdBatteryBar" />
@@ -275,6 +290,7 @@
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="fod_recognizing_animation_list"
android:icon="@drawable/ic_fingerprint"
android:title="@string/fod_recog_animation_effect_title"
android:summary="%s"
android:entries="@array/fod_recognizing_animation_entries"
@@ -285,6 +301,7 @@
<!-- FOD pressed color -->
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="fod_color"
android:icon="@drawable/ic_fingerprint"
android:dialogTitle="@string/fod_pressed_color_title"
android:title="@string/fod_pressed_color_title"
android:summary="%s"

View File

@@ -91,6 +91,7 @@
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="sysui_rounded_fwvals"
android:title="@string/corner_fwvals"
android:icon="@drawable/ic_rounded"
android:summary="@string/corner_fwvals_summary"
android:defaultValue="true"
android:disableDependentsState="true" />

View File

@@ -52,22 +52,10 @@
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="less_boring_heads_up"
android:icon="@drawable/ic_notification"
android:title="@string/less_boring_heads_up_title"
android:summary="@string/less_boring_heads_up_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="media_category"
android:title="@string/media_category" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="artwork_media_background"
android:icon="@drawable/ic_media"
android:title="@string/artwork_media_background_title"
android:summary="@string/artwork_media_background_summary"
android:defaultValue="true" />
</PreferenceCategory>
<!-- Notification background opacity -->
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
@@ -97,6 +85,7 @@
<Preference
android:key="notification_light"
android:icon="@drawable/ic_light"
android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
android:title="@string/notification_light_settings" >
<extra

View File

@@ -20,6 +20,7 @@
<ListPreference
android:key="power_menu_animations"
android:icon="@drawable/ic_power"
android:title="@string/power_menu_animation_title"
android:dialogTitle="@string/power_menu_animation_dialog_title"
android:entries="@array/power_menu_animations_entries"

View File

@@ -80,6 +80,7 @@
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_running_services_toggle"
android:icon="@drawable/ic_run"
android:title="@string/qs_running_services_title"
android:summary="@string/qs_running_services_summary"
android:defaultValue="false" />
@@ -97,6 +98,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="qs_show_brightness_slider"
android:icon="@drawable/ic_brightness_control"
android:title="@string/qs_show_brightness_slider_title"
android:summary="%s"
android:dialogTitle="@string/qs_show_brightness_slider_title"
@@ -106,6 +108,7 @@
<com.cherish.settings.preferences.SecureSettingListPreference
android:key="qqs_show_brightness_slider"
android:icon="@drawable/ic_brightness_qs"
android:title="@string/qqs_brightness_slider_title"
android:entries="@array/qs_show_brightness_slider_values"
android:entryValues="@array/qs_show_brightness_slider_values"
@@ -147,6 +150,7 @@
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_rows_portrait"
android:icon="@drawable/ic_qs_row"
android:title="@string/qs_rows_portrait_title"
android:max="5"
android:min="1"
@@ -155,6 +159,7 @@
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_rows_landscape"
android:icon="@drawable/ic_qs_land"
android:title="@string/qs_rows_landscape_title"
android:max="5"
android:min="1"
@@ -163,6 +168,7 @@
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_columns_portrait"
android:icon="@drawable/ic_qs_column"
android:title="@string/qs_columns_portrait_title"
android:max="7"
android:min="1"
@@ -171,6 +177,7 @@
<com.cherish.settings.preferences.CustomSystemSeekBarPreference
android:key="qs_columns_landscape"
android:icon="@drawable/ic_qs_column_landscape"
android:title="@string/qs_columns_landscape_title"
android:max="9"
android:min="1"

View File

@@ -91,6 +91,7 @@
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_show_ticker"
android:icon="@drawable/ic_ticker"
android:title="@string/ticker_screen_title"
android:entries="@array/ticker_mode_entries"
android:entryValues="@array/ticker_mode_values"
@@ -98,6 +99,7 @@
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="status_bar_ticker_animation_mode"
android:icon="@drawable/ic_ticker_animation"
android:title="@string/ticker_animation_mode_title"
android:entries="@array/ticker_animation_mode_entries"
android:entryValues="@array/ticker_animation_mode_values"
@@ -105,6 +107,7 @@
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="status_bar_ticker_tick_duration"
android:icon="@drawable/ic_clock"
android:title="@string/ticker_tick_duration_title"
settings:min="500"
settings:interval="100"
@@ -115,6 +118,7 @@
<!-- Statusbar Lyric -->
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_show_lyric"
android:icon="@drawable/ic_music"
android:title="@string/status_bar_show_lyric_title"
android:summary="@string/status_bar_show_lyric_summary"
android:defaultValue="true" />

View File

@@ -32,7 +32,7 @@
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="gradient_color"
android:icon="@drawable/ic_accent_picker"
android:icon="@drawable/ic_gradient"
android:title="@string/gradient_color"
android:summary="@string/gradient_summary"
android:defaultValue="0xffffff"
@@ -94,24 +94,28 @@
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="statusbar_icons_style"
android:icon="@drawable/ic_invert_colors"
android:title="@string/statusbar_icons_style"
android:summary="@string/statusbar_icons_style_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="headers_icons_style"
android:icon="@drawable/ic_invert_colors"
android:title="@string/header_icons_style"
android:summary="@string/header_icons_style_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tiles_bg_disco"
android:icon="@drawable/ic_shape2_icon"
android:title="@string/qs_panel_bg_disco_title"
android:summary="@string/qs_panel_bg_disco_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_new_tint"
android:icon="@drawable/ic_color"
android:title="@string/qs_bg_use_new_tint"
android:dialogTitle="@string/qs_bg_use_new_tint"
android:entries="@array/qs_tint_entries"
@@ -128,6 +132,7 @@
<!-- QS panel opacity -->
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="qs_panel_bg_alpha"
android:icon="@drawable/ic_opacity"
android:title="@string/qs_panel_bg_alpha_title"
android:defaultValue="255"
android:max="255"
@@ -136,6 +141,7 @@
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_panel_bg_use_fw"
android:icon="@drawable/ic_fwb"
android:title="@string/qs_panel_bg_use_fw_title"
android:summary="@string/qs_panel_bg_use_fw_summary"
android:defaultValue="true"
@@ -151,6 +157,7 @@
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="qs_panel_color"
android:icon="@drawable/ic_accent_picker"
android:title="@string/qs_panel_bg_color_title"
android:defaultValue="0xFFFFFFFF"
android:persistent="false"
@@ -182,6 +189,7 @@
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="volume_panel_tint"
android:icon="@drawable/ic_format_color"
android:summary="@string/volume_panel_tint_summary"
android:title="@string/volume_panel_tint_title"
android:defaultValue="false" />