diff options
author | Nebojsa Cvetkovic <nebkat@gmail.com> | 2013-11-26 13:30:30 +0000 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-01-24 16:24:23 -0800 |
commit | 6fafbed8dffad4a85fd1f74d9376f1c9d1829138 (patch) | |
tree | ca98beee8627bcceefb0a046feb31df686450f43 /res | |
parent | d14c5a17b22825ead2f56797efb5e52096375f9e (diff) | |
download | android_packages_apps_Trebuchet-6fafbed8dffad4a85fd1f74d9376f1c9d1829138.tar.gz android_packages_apps_Trebuchet-6fafbed8dffad4a85fd1f74d9376f1c9d1829138.tar.bz2 android_packages_apps_Trebuchet-6fafbed8dffad4a85fd1f74d9376f1c9d1829138.zip |
Workspace: Show page outlines
Change-Id: I5c62982e052423f16d2983888a30519e388568c4
Diffstat (limited to 'res')
-rw-r--r-- | res/values-sw720dp/config.xml | 2 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 3 | ||||
-rw-r--r-- | res/values/config.xml | 2 | ||||
-rw-r--r-- | res/values/preferences_defaults.xml | 1 | ||||
-rw-r--r-- | res/xml/preferences_homescreen.xml | 6 |
5 files changed, 14 insertions, 0 deletions
diff --git a/res/values-sw720dp/config.xml b/res/values-sw720dp/config.xml index 4f537a9f4..05fce66a2 100644 --- a/res/values-sw720dp/config.xml +++ b/res/values-sw720dp/config.xml @@ -11,6 +11,8 @@ <bool name="config_useDropTargetDownTransition">false</bool> <!-- Whether or not to fade the side pages --> <bool name="config_workspaceFadeAdjacentScreens">true</bool> + <!-- Whether to show outlines on the screens when scrolling --> + <bool name="config_workspaceDefaultShowOutlines">true</bool> <!-- Camera distance for the overscroll effect --> <integer name="config_cameraDistance">18000</integer> diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 131acc9e8..f5e3d5b5a 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -21,6 +21,9 @@ <string name="preferences_interface_homescreen_summary">Screens and wallpaper</string> <string name="preferences_interface_homescreen_search_title">Search bar</string> <string name="preferences_interface_homescreen_search_summary">Show persistent search bar at top of screen</string> + <string name="preferences_interface_homescreen_scrolling_category">Scrolling</string> + <string name="preferences_interface_homescreen_scrolling_show_outlines_title">Show outlines</string> + <string name="preferences_interface_homescreen_scrolling_show_outlines_summary">Show outlines when scrolling homescreens</string> <!-- Drawer --> <string name="preferences_interface_drawer_title">Drawer</string> diff --git a/res/values/config.xml b/res/values/config.xml index 497828125..892d1478f 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -46,6 +46,8 @@ <bool name="config_useDropTargetDownTransition">false</bool> <!-- Whether or not to fade the side pages --> <bool name="config_workspaceFadeAdjacentScreens">false</bool> + <!-- Whether to show outlines on the screens when scrolling --> + <bool name="config_workspaceDefaultShowOutlines">false</bool> <!-- The transition duration for the background of the drop targets --> <integer name="config_dropTargetBgTransitionDuration">0</integer> diff --git a/res/values/preferences_defaults.xml b/res/values/preferences_defaults.xml index 99fe92405..b84e8f612 100644 --- a/res/values/preferences_defaults.xml +++ b/res/values/preferences_defaults.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <resources> <bool name="preferences_interface_homescreen_search_default">true</bool> + <bool name="preferences_interface_homescreen_scrolling_show_outlines_default">@bool/config_workspaceDefaultShowOutlines</bool> </resources>
\ No newline at end of file diff --git a/res/xml/preferences_homescreen.xml b/res/xml/preferences_homescreen.xml index 8b2652b9a..7b56f56af 100644 --- a/res/xml/preferences_homescreen.xml +++ b/res/xml/preferences_homescreen.xml @@ -22,4 +22,10 @@ android:title="@string/preferences_interface_homescreen_search_title" android:summary="@string/preferences_interface_homescreen_search_summary" android:defaultValue="@bool/preferences_interface_homescreen_search_default" /> + <PreferenceCategory android:title="@string/preferences_interface_homescreen_scrolling_category"> + <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> </PreferenceScreen> |