Cherish:Intitial for Android 11
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -23,108 +23,12 @@
|
||||
android:key="lockscreen_category"
|
||||
android:title="@string/lockscreen_category">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_battery_info"
|
||||
android:icon="@drawable/ic_batteryenergy"
|
||||
android:title="@string/lockscreen_battery_info_title"
|
||||
android:summary="@string/lockscreen_battery_info_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="lockscreen_charging_animation_style"
|
||||
android:icon="@drawable/ic_charging"
|
||||
android:dialogTitle="@string/lockscreen_charging_animation_title"
|
||||
android:title="@string/lockscreen_charging_animation_title"
|
||||
android:entries="@array/lockscreen_charging_animation_entries"
|
||||
android:entryValues="@array/lockscreen_charging_animation_values"
|
||||
android:summary="%s"
|
||||
android:defaultValue="1" />
|
||||
|
||||
<Preference
|
||||
android:title="@string/lockscreen_tuner_title"
|
||||
android:icon="@drawable/ic_shortcut"
|
||||
android:summary="@string/lockscreen_tuner_summary" >
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.android.systemui"
|
||||
android:targetClass="com.android.systemui.tuner.LockscreenActivity" />
|
||||
</Preference>
|
||||
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<!-- Lockscreen Clock -->
|
||||
<PreferenceCategory
|
||||
android:key="lockscreen_clock"
|
||||
android:title="@string/lockscreen_clock_title">
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingListPreference
|
||||
android:key="lockscreen_clock_selection"
|
||||
android:icon="@drawable/ic_lockscreen_clock_selection"
|
||||
android:title="@string/lockscreen_clock_title"
|
||||
android:dialogTitle="@string/lockscreen_clock_dialog_title"
|
||||
android:entries="@array/lockscreen_clock_titles"
|
||||
android:entryValues="@array/lockscreen_clock_values"
|
||||
android:defaultValue="2" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- Lockscreen Date Styles-->
|
||||
<PreferenceCategory
|
||||
android:key="lockscreen_date"
|
||||
android:title="@string/lockscreen_date_title">
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingListPreference
|
||||
android:key="lockscreen_date_selection"
|
||||
android:icon="@drawable/ic_calendar"
|
||||
android:title="@string/lockscreen_date_selection_title"
|
||||
android:dialogTitle="@string/lockscreen_date_dialog_title"
|
||||
android:entries="@array/lockscreen_date_selection_entries"
|
||||
android:entryValues="@array/lockscreen_date_selection_values"
|
||||
android:defaultValue="0" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- Lockscreen Visualizer-->
|
||||
<PreferenceCategory
|
||||
android:key="visualizer"
|
||||
android:title="@string/visualizer_title">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_media_metadata"
|
||||
android:title="@string/lockscreen_media_art_title"
|
||||
android:icon="@drawable/ic_media"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<Preference
|
||||
android:key="pulse"
|
||||
android:title="@string/pulse_settings"
|
||||
android:icon="@drawable/ic_visualizer"
|
||||
android:summary="@string/pulse_settings_summary"
|
||||
android:fragment="com.cherish.settings.fragments.PulseSettings" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||
android:key="lockscreen_media_blur"
|
||||
android:title="@string/lockscreen_media_blur_title"
|
||||
android:dependency="lockscreen_media_metadata"
|
||||
android:max="100"
|
||||
settings:min="5"
|
||||
settings:units="%"
|
||||
settings:interval="5"
|
||||
android:defaultValue="100"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="fingerprint_success_vib"
|
||||
android:icon="@drawable/ic_fingerprint"
|
||||
android:title="@string/fprint_sucess_vib_title"
|
||||
android:summary="@string/fprint_sucess_vib_summary"
|
||||
android:persistent="false" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="fp_unlock_keystore"
|
||||
android:icon="@drawable/ic_unlock"
|
||||
android:title="@string/fp_unlock_keystore_title"
|
||||
android:summary="@string/fp_unlock_keystore_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user