diff options
author | Brandon Bennett <bennetb@gmail.com> | 2012-11-10 19:21:35 -0700 |
---|---|---|
committer | Brandon Bennett <bennetb@gmail.com> | 2012-11-10 21:13:31 -0700 |
commit | 6bace11c22ecb3746739c8e786a7dba43f0712d4 (patch) | |
tree | 09103688abcf03957561b03ef1182377d1f4a8ba /GNexusParts/res/xml/preferences.xml | |
parent | 041751bbb4668920f82373c6a62b9aa07338a944 (diff) | |
download | device_samsung_tuna-6bace11c22ecb3746739c8e786a7dba43f0712d4.zip device_samsung_tuna-6bace11c22ecb3746739c8e786a7dba43f0712d4.tar.gz device_samsung_tuna-6bace11c22ecb3746739c8e786a7dba43f0712d4.tar.bz2 |
Remove tabs from GNexusParts
Although the tabs are pretty and shows off some of the nice features
of Androud ICS/JB they are against the design guidelines. Having
a tab for a single item is inefficient and it doesn't match the
rest of the settings.
This moves all the tabs to PreferenceCategories and have all
settings on one page.
Changeset 2+3+4+5: Fix whitespace and tab fail.
Change-Id: I36fe8b1611ccc345ceab534b01f4dc9a97fef70c
Diffstat (limited to 'GNexusParts/res/xml/preferences.xml')
-rw-r--r-- | GNexusParts/res/xml/preferences.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/GNexusParts/res/xml/preferences.xml b/GNexusParts/res/xml/preferences.xml new file mode 100644 index 0000000..a71d274 --- /dev/null +++ b/GNexusParts/res/xml/preferences.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + android:title="@string/app_name"> + + <!-- Color tuning --> + <PreferenceCategory + android:key="category_display" + android:title="@string/category_display_title" > + <com.cyanogenmod.settings.device.ColorTuningPreference + android:key="color_tuning" + android:title="@string/color_tuning_title_head" + android:summary="@string/color_tuning_summary_head" /> + <com.cyanogenmod.settings.device.GammaTuningPreference + android:key="gamma_tuning" + android:title="@string/gamma_tuning_title_head" + android:summary="@string/gamma_tuning_summary_head" /> + <com.cyanogenmod.settings.device.ColorHackPresets + android:key="colorgamma_presets" + android:title="@string/color_hack_presets_title_head" + android:summary="@string/color_hack_presets_summary_head" /> + </PreferenceCategory> + + <!-- General settings --> + <PreferenceCategory android:key="category_hardware" + android:title="@string/category_hardware_title"> + <com.cyanogenmod.settings.device.VibratorTuningPreference + android:key="vibrator_tuning" + android:title="@string/vibrator_tuning_title_head" + android:summary="@string/vibrator_tuning_summary_head" /> + </PreferenceCategory> + + <!-- GPU --> + <PreferenceCategory android:key="category_gpu" + android:title="@string/category_gpu_title"> + <ListPreference + android:key="gpu_overclock" + android:title="@string/gpu_overclock_title" + android:entries="@array/gpu_overclock_entries" + android:entryValues="@array/gpu_overclock_values" + android:defaultValue="0" /> + </PreferenceCategory> +</PreferenceScreen> |