summaryrefslogtreecommitdiffstats
path: root/res/xml/preferences_homescreen.xml
diff options
context:
space:
mode:
authornebkat <nebkat@teamhacksung.org>2012-12-19 18:28:01 +0000
committernebkat <nebkat@teamhacksung.org>2012-12-19 18:47:40 +0000
commit24c41727bdd4736e3da8e964d1acbc1c374b6d2c (patch)
tree0e635e437d1b851b7f0d07290fee4291260121aa /res/xml/preferences_homescreen.xml
parenta8012a552429889d04f7829317d602de23054864 (diff)
downloadandroid_packages_apps_Trebuchet-24c41727bdd4736e3da8e964d1acbc1c374b6d2c.tar.gz
android_packages_apps_Trebuchet-24c41727bdd4736e3da8e964d1acbc1c374b6d2c.tar.bz2
android_packages_apps_Trebuchet-24c41727bdd4736e3da8e964d1acbc1c374b6d2c.zip
Preferences: Cleanup
Change-Id: I8973c8c043755ed01e1bb6107b09bb0eb734e66a
Diffstat (limited to 'res/xml/preferences_homescreen.xml')
-rw-r--r--res/xml/preferences_homescreen.xml102
1 files changed, 102 insertions, 0 deletions
diff --git a/res/xml/preferences_homescreen.xml b/res/xml/preferences_homescreen.xml
new file mode 100644
index 000000000..c1996bc9c
--- /dev/null
+++ b/res/xml/preferences_homescreen.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet"
+ android:key="ui_homescreen"
+ android:title="@string/preferences_interface_homescreen_title">
+ <PreferenceCategory android:title="@string/preferences_interface_homescreen_general_category">
+ <com.cyanogenmod.trebuchet.preference.DoubleNumberPickerPreference android:key="ui_homescreen_grid"
+ android:title="@string/preferences_interface_homescreen_general_grid_title"
+ android:summary="@string/preferences_interface_homescreen_general_grid_summary"
+ launcher:pickerTitle1="@string/preferences_interface_homescreen_general_grid_rows_title"
+ launcher:pickerTitle2="@string/preferences_interface_homescreen_general_grid_columns_title"
+ launcher:defaultValue1="@integer/cell_count_x"
+ launcher:defaultValue2="@integer/cell_count_y"
+ launcher:max1="7"
+ launcher:min1="3"
+ launcher:max2="7"
+ launcher:min2="3" />
+ <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_screens"
+ android:title="@string/preferences_interface_homescreen_general_screens_title"
+ android:summary="@string/preferences_interface_homescreen_general_screens_summary"
+ android:defaultValue="5"
+ launcher:max="7"
+ launcher:min="1" />
+ <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_default_screen"
+ android:title="@string/preferences_interface_homescreen_general_default_screen_title"
+ android:summary="@string/preferences_interface_homescreen_general_default_screen_summary"
+ android:defaultValue="3"
+ launcher:maxExternal="ui_homescreen_screens"
+ launcher:max="7"
+ launcher:min="1" />
+ <CheckBoxPreference android:key="ui_homescreen_stretch_screens"
+ android:title="@string/preferences_interface_homescreen_general_stretch_screens_title"
+ android:summary="@string/preferences_interface_homescreen_general_stretch_screens_summary" />
+ <CheckBoxPreference android:key="ui_homescreen_general_search"
+ android:title="@string/preferences_interface_homescreen_general_search_title"
+ android:summary="@string/preferences_interface_homescreen_general_search_summary"
+ android:defaultValue="true" />
+ <CheckBoxPreference android:key="ui_homescreen_general_resize_any_widget"
+ android:title="@string/preferences_interface_homescreen_general_resize_any_widget_title"
+ android:summary="@string/preferences_interface_homescreen_general_resize_any_widget_summary" />
+ <CheckBoxPreference android:key="ui_homescreen_general_hide_icon_labels"
+ android:title="@string/preferences_interface_homescreen_general_hide_icon_labels_title"
+ android:summary="@string/preferences_interface_homescreen_general_hide_icon_labels_summary" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/preferences_interface_homescreen_scrolling_category">
+ <ListPreference android:key="ui_homescreen_scrolling_transition_effect"
+ android:title="@string/preferences_interface_homescreen_scrolling_transition_effect_title"
+ android:summary="@string/preferences_interface_homescreen_scrolling_transition_effect_summary"
+ android:entries="@array/preferences_interface_homescreen_scrolling_transition_effect_entries"
+ android:entryValues="@array/preferences_interface_homescreen_scrolling_transition_effect_values"
+ android:defaultValue="@string/config_workspaceDefaultTransitionEffect" />
+ <CheckBoxPreference android:key="ui_homescreen_scrolling_scroll_wallpaper"
+ android:title="@string/preferences_interface_homescreen_scrolling_scroll_wallpaper_title"
+ android:summary="@string/preferences_interface_homescreen_scrolling_scroll_wallpaper_summary"
+ android:defaultValue="true" />
+ <CheckBoxPreference android:key="ui_homescreen_scrolling_wallpaper_hack"
+ android:title="@string/preferences_interface_homescreen_scrolling_wallpaper_hack_title"
+ android:summary="@string/preferences_interface_homescreen_scrolling_wallpaper_hack_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference android:key="ui_homescreen_scrolling_fade_adjacent_screens"
+ android:title="@string/preferences_interface_homescreen_scrolling_fade_adjacent_screens_title"
+ android:summary="@string/preferences_interface_homescreen_scrolling_fade_adjacent_screens_summary"
+ android:defaultValue="@bool/config_workspaceDefualtFadeInAdjacentScreens" />
+ <CheckBoxPreference android:key="ui_homescreen_scrolling_show_outlines"
+ android:title="@string/preferences_interface_homescreen_scrolling_show_outlines_title"
+ android:summary="@string/preferences_interface_homescreen_scrolling_show_outlines_summary"
+ android:defaultValue="@bool/config_workspaceDefaultShowOutlines" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/preferences_interface_homescreen_indicator_category">
+ <CheckBoxPreference android:key="ui_homescreen_indicator_enable"
+ android:title="@string/preferences_interface_homescreen_indicator_enable_title"
+ android:summary="@string/preferences_interface_homescreen_indicator_enable_summary"
+ android:defaultValue="true" />
+ <CheckBoxPreference android:key="ui_homescreen_indicator_fade"
+ android:title="@string/preferences_interface_homescreen_indicator_fade_title"
+ android:summary="@string/preferences_interface_homescreen_indicator_fade_summary"
+ android:defaultValue="true"
+ android:dependency="ui_homescreen_indicator_enable" />
+ <ListPreference android:key="ui_homescreen_indicator_position"
+ android:title="@string/preferences_interface_homescreen_indicator_position_title"
+ android:summary="@string/preferences_interface_homescreen_indicator_position_summary"
+ android:entries="@array/preferences_interface_homescreen_indicator_position_entries"
+ android:entryValues="@array/preferences_interface_homescreen_indicator_position_values"
+ android:defaultValue="0"
+ android:dependency="ui_homescreen_indicator_enable" />
+ </PreferenceCategory>
+</PreferenceScreen> \ No newline at end of file