Cherish:Intitial for Android 11

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2020-09-26 12:29:26 +07:00
parent e1061bf1a5
commit e6308bab52
59 changed files with 20 additions and 9500 deletions

View File

@@ -18,80 +18,4 @@
android:title="@string/notifications_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_headers"
android:icon="@drawable/ic_notification_center"
android:title="@string/notification_headers_title"
android:summary="@string/notification_headers_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="center_notification_headers"
android:title="@string/center_notification_headers_title"
android:summary="@string/center_notification_headers_summary"
android:dependency="notification_headers"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="force_expanded_notifications"
android:icon="@drawable/ic_notification"
android:title="@string/force_expanded_notifications_title"
android:summary="@string/force_expanded_notifications_summary"
android:defaultValue="false" />
<Preference
android:key="charging_light"
android:icon="@drawable/ic_battery_almostfull"
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
android:title="@string/battery_light_settings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation"
android:icon="@drawable/ic_charging"
android:title="@string/charging_animation_title"
android:summary="@string/charging_animation_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="notification_screen"
android:title="@string/notification_screen_title" >
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
android:key="pulse_ambient_light"
android:icon="@drawable/ic_pulse"
android:title="@string/pulse_ambient_light_title"
android:summary="@string/pulse_ambient_light_summary"
android:fragment="com.cherish.settings.fragments.EdgePulse"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/flashlight_category">
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="flashlight_on_call"
android:icon="@drawable/ic_flashlight"
android:title="@string/flashlight_on_call_title"
android:entries="@array/flashlight_on_call_entries"
android:entryValues="@array/flashlight_on_call_values"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="flashlight_on_call_ignore_dnd"
android:icon="@drawable/ic_call_dnd"
android:title="@string/flashlight_on_call_ignore_dnd_title"
android:summary="@string/flashlight_on_call_ignore_dnd_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="flashlight_on_call_rate"
android:icon="@drawable/ic_call"
android:title="@string/flashlight_on_call_rate_title"
android:summary="@string/flashlight_on_call_rate_summary"
android:max="5"
settings:min="1"
settings:defaultValue="1"
settings:units="Hz" />
</PreferenceCategory>
</PreferenceScreen>