mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: parts: Inherit settingslib for main fragment
* Also, drop more custom resources
This commit is contained in:
parent
208e4ab7fe
commit
7d313f6d93
6 changed files with 34 additions and 87 deletions
|
|
@ -21,39 +21,39 @@
|
|||
|
||||
<Preference
|
||||
android:key="battery_capacity"
|
||||
android:title="@string/battery_max_capa"
|
||||
android:summary="@string/not_shown"
|
||||
android:title="@string/battery_max_capa"
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
|
||||
<Preference
|
||||
android:key="battery_charged_up_to"
|
||||
android:title="@string/battery_chrged_up_to"
|
||||
android:summary="@string/not_shown"
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
|
||||
<Preference
|
||||
android:key="battery_charged_up_to_mah"
|
||||
android:title="@string/battery_chrged_up_to_mah"
|
||||
android:summary="@string/not_shown"
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
|
||||
<Preference
|
||||
android:key="battery_current"
|
||||
android:title="@string/battery_current"
|
||||
android:summary="@string/not_shown"
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
|
||||
<Preference
|
||||
android:key="battery_status"
|
||||
android:title="@string/battery_status"
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
|
||||
<Preference
|
||||
android:key="battery_temp"
|
||||
android:title="@string/battery_temp"
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
android:summary="@string/not_shown"
|
||||
android:selectable="false"/>
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="footer_preference"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
<com.android.settingslib.widget.RadioButtonPreference
|
||||
android:key="dolby_profile_voice"
|
||||
android:title="@string/dolby_profile_voice"/>
|
||||
android:title="@string/dolby_profile_voice"/>
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="dolby_top_intro"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<com.android.settingslib.widget.MainSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="flashlight_enable"
|
||||
android:title="@string/flash_enable_title" />
|
||||
android:title="@string/flash_enable_title" />
|
||||
|
||||
<SeekBarPreference
|
||||
android:key="flashlight_pref"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/advanced_settings">
|
||||
<PreferenceCategory
|
||||
android:key="display"
|
||||
android:title="@string/display_category">
|
||||
|
|
@ -62,18 +64,19 @@
|
|||
android:targetClass="com.eurekateam.samsungextras.battery.BatteryActivity"
|
||||
android:targetPackage="com.eurekateam.samsungextras" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/misc_category">
|
||||
android:title="@string/misc_category">
|
||||
<SwitchPreference
|
||||
android:key="dt2w_settings"
|
||||
android:title="@string/dt2w_mode"
|
||||
android:persistent="true"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="glove_mode_settings"
|
||||
android:title="@string/glove_mode"
|
||||
android:persistent="true"/>
|
||||
android:key="dt2w_settings"
|
||||
android:title="@string/dt2w_mode"
|
||||
android:persistent="true"/>
|
||||
<SwitchPreference
|
||||
android:key="glove_mode_settings"
|
||||
android:title="@string/glove_mode"
|
||||
android:persistent="true"/>
|
||||
</PreferenceCategory>
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:title="@string/advanced_settings_summary"
|
||||
android:selectable="false" />
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
Loading…
Reference in a new issue