diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 11 | ||||
-rw-r--r-- | res/values/cm_arrays.xml | 77 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 123 | ||||
-rw-r--r-- | res/values/colors.xml | 6 | ||||
-rw-r--r-- | res/values/config.xml | 2 | ||||
-rw-r--r-- | res/values/dimens.xml | 10 |
6 files changed, 229 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 65f8f22a6..240f31171 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -143,4 +143,15 @@ <attr name="ringOutset" format="dimension" /> <attr name="indicatorSize" format="dimension" /> </declare-styleable> + + <declare-styleable name="SlidingUpPanelLayout"> + <attr name="panelHeight" format="dimension" /> + <attr name="shadowHeight" format="dimension" /> + <attr name="paralaxOffset" format="dimension" /> + <attr name="fadeColor" format="color" /> + <attr name="flingVelocity" format="integer" /> + <attr name="dragView" format="reference" /> + <attr name="overlay" format="boolean"/> + </declare-styleable> + </resources> diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml new file mode 100644 index 000000000..2320f1805 --- /dev/null +++ b/res/values/cm_arrays.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The CyanogenMod 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. +--> +<resources> + <string-array name="preferences_interface_general_icons_text_font_family_entries"> + <item>Regular</item> + <item>Light</item> + <item>Condensed</item> + </string-array> + <string-array name="preferences_interface_general_icons_text_font_family_values" translatable="false"> + <item>sans-serif</item> + <item>sans-serif-light</item> + <item>sans-serif-condensed</item> + </string-array> + + <string-array name="transition_effect_entries"> + <item>None</item> + <item>Zoom In</item> + <item>Zoom Out</item> + <item>Rotate Up</item> + <item>Rotate Down</item> + <item>Cube In</item> + <item>Cube Out</item> + <item>Stack</item> + <item>Accordion</item> + <item>Flip</item> + <item>Cylinder In</item> + <item>Cylinder Out</item> + <item>Carousel</item> + <item>Overview</item> + </string-array> + <string-array name="transition_effect_values" translatable="false"> + <item>none</item> + <item>zoom-in</item> + <item>zoom-out</item> + <item>rotate-up</item> + <item>rotate-down</item> + <item>cube-in</item> + <item>cube-out</item> + <item>stack</item> + <item>accordion</item> + <item>flip</item> + <item>cylinder-in</item> + <item>cylinder-out</item> + <item>carousel</item> + <item>overview</item> + </string-array> + <string-array name="transition_effect_drawables" translatable="false"> + <item>@drawable/transition_none</item> + <item>@drawable/transition_zoomin</item> + <item>@drawable/transition_zoomout</item> + <item>@drawable/transition_rotateup</item> + <item>@drawable/transition_rotatedown</item> + <item>@drawable/transition_cubein</item> + <item>@drawable/transition_cubeout</item> + <item>@drawable/transition_stack</item> + <item>@drawable/transition_accordion</item> + <item>@drawable/transition_flip</item> + <item>@drawable/transition_cylinderin</item> + <item>@drawable/transition_cylinderout</item> + <item>@drawable/transition_carousel</item> + <item>@drawable/transition_overview</item> + </string-array> +</resources>
\ No newline at end of file diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml new file mode 100644 index 000000000..267d65a18 --- /dev/null +++ b/res/values/cm_strings.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The CyanogenMod 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. +--> +<resources> + <!-- Application name --> + <string name="cm_application_name" translatable="false">Trebuchet</string> + <!-- App copyright --> + <string name="application_copyright">Copyright \u00A9 2014 The CyanogenMod Project</string> + <!-- App version --> + <string name="application_version" translatable="false">1.0</string> + + <!-- Strings for the customization mode --> + <!-- Text for sorting mode button --> + <string name="sort_button_text">Sort</string> + <!-- Text for filter button --> + <string name="filter_button_text">Filter</string> + <!-- Text for default screen button --> + <string name="default_screen_button_text">Default screen</string> + <!-- Text for transition effect button --> + <string name="transition_effect_button_text">Scroll effect</string> + + <string name="sort_mode_title">Title</string> + <string name="sort_mode_launch_count">Launch count</string> + <string name="sort_mode_install_time">Install time</string> + + <string name="scrolling_page_outlines">Page outlines</string> + <string name="scrolling_fade_adjacent">Fade side pages</string> + + + <string name="wallpaper_scroll">Scroll wallpaper</string> + + <!-- Settings --> + <string name="preferences_title">Settings</string> + <!-- Application --> + <string name="preferences_application_title">App</string> + + <!-- UI --> + <!-- Homescreen --> + <string name="preferences_interface_homescreen_title">Homescreen</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_general_hide_icon_labels_title">Hide icon labels</string> + <string name="preferences_interface_homescreen_general_hide_icon_labels_summary">Hide icon labels on homescreen</string> + + <!-- Drawer --> + <string name="preferences_interface_drawer_title">Drawer</string> + <string name="preferences_interface_drawer_summary">Apps and widgets drawer</string> + <string name="preferences_interface_drawer_apps_category">Apps</string> + <string name="preferences_interface_drawer_hidden_apps_title">Hidden apps</string> + <string name="preferences_interface_drawer_hidden_apps_summary">Hide apps from the drawer</string> + <string name="preferences_interface_drawer_hidden_apps_shortcuts_title">Remove shortcuts</string> + <string name="preferences_interface_drawer_hidden_apps_shortcuts_summary">Remove the shortcuts of hidden apps from the homescreen</string> + <string name="preferences_interface_drawer_hidden_apps_widgets_title">Remove widgets</string> + <string name="preferences_interface_drawer_hidden_apps_widgets_summary">Remove the widgets of hidden apps from the homescreen</string> + <string name="preferences_interface_drawer_hide_icon_labels_title">Hide icon labels</string> + <string name="preferences_interface_drawer_hide_icon_labels_summary">Hide icon labels in drawer</string> + + <!-- Dock --> + <string name="preferences_interface_dock_title">Dock</string> + + <!-- General --> + <string name="preferences_interface_general_title">General</string> + <string name="preferences_interface_general_icons_category">Icons</string> + <string name="preferences_interface_general_icons_large_title">Larger icons</string> + <string name="preferences_interface_general_icons_large_summary">Use extra large application icons in homescreen and drawer</string> + <string name="preferences_interface_general_icons_text_style_title">Text font style</string> + <string name="preferences_interface_general_icons_text_style_summary">Variant and style of font to use for icon text</string> + <string name="dialog_pick_iconpack_title">Pick icon pack</string> + <string name="default_iconpack_title">Default icons</string> + <string name="icon_packs_title">Icon packs</string> + <string name="no_iconpacks_summary">No icon packs installed</string> + + <!-- Folder titles --> + <string name="google_title" translatable="false">Google</string> + + <!-- Clear keyguard wallpaper tile text --> + <string name="clear_keyguard_wallpaper">Clear</string> + + <!-- The title text for the all apps cling [CHAR_LIMIT=60] --> + <string name="all_apps_cling_cm">Customize your drawer</string> + <!-- The description of how to access Trebuchet settings [CHAR_LIMIT=160] --> + <string name="all_apps_cling_summary">Tap the page indicator to view additional configuration settings</string> + + <!-- Noun, menu item used to reset hidden apps list --> + <string name="menu_hidden_apps_delete">Reset</string> + + <!-- Hidden apps --> + <string name="hidden_apps_title">Hidden apps</string> + + <!-- Settings --> + <string name="launcher_settings">LAUNCHER SETTINGS</string> + <string name="home_screen_settings">HOME SCREEN SETTINGS</string> + <string name="drawer_settings">DRAWER SETTINGS</string> + <!-- Text for page scroll --> + <string name="page_scroll_effect_text">Scroll effect</string> + <!-- Text for drawer scroll --> + <string name="drawer_scroll_effect_text">Scroll effect</string> + <!-- Text for drawer sorting --> + <string name="drawer_sorting_text">Sorting mode</string> + <!-- Text for home screen search --> + <string name="home_screen_search_text">Search bar</string> + <!-- Text for larger icons --> + <string name="larger_icons_text">Larger icons</string> + <!-- Text for hiding icon labels --> + <string name="hide_icon_labels">Hide icon labels</string> + <!-- Settings states --> + <string name="setting_state_on">ON</string> + <string name="setting_state_off">OFF</string> + <string name="themes_button_text">Themes</string> +</resources> diff --git a/res/values/colors.xml b/res/values/colors.xml index 29837eaf7..b2164de89 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -37,5 +37,11 @@ <color name="quantum_panel_text_shadow_color">#FFC4C4C4</color> <color name="outline_color">#FFFFFFFF</color> <color name="widget_text_panel">#FF374248</color> + <color name="first_run_cling_circle_background_color">#64b1ea</color> + <color name="settings_header_text">#FF6cd2ea</color> + <color name="settings_bg_color">#FF485459</color> + <color name="settings_bg_header_color">#FFb2b0ab</color> + <color name="settings_bg_selected_color">#26000000</color> + <color name="settings_transition_selected_color">#50000000</color> </resources> diff --git a/res/values/config.xml b/res/values/config.xml index 96bd13bbb..8e19e3706 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -32,6 +32,8 @@ <!-- Out of 100, the percent to shrink the workspace during spring loaded mode. --> <integer name="config_workspaceSpringLoadShrinkPercentage">80</integer> + <!-- Out of 100, the percent to shrink the workspace during overview mode. --> + <integer name="config_workspaceOverviewShrinkPercentage">90</integer> <!-- Fade/zoom in/out duration & scale in the AllApps transition. Note: This should be less than the workspaceShrinkTime as they happen together. --> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 2c9e689c6..ce24d60b8 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -39,6 +39,13 @@ <!-- Workspace --> <dimen name="workspace_max_gap">16dp</dimen> <dimen name="workspace_overscroll_drawable_padding">0dp</dimen> + <dimen name="workspace_spring_loaded_page_spacing">15dp</dimen> + <dimen name="overview_panel_top_padding">20dp</dimen> + <dimen name="overview_panel_bottom_padding">50dp</dimen> + <dimen name="overview_panel_button_spacing">30dp</dimen> + <dimen name="overview_mode_page_offset">60dp</dimen> + <dimen name="sliding_panel_padding">175dp</dimen> + <dimen name="overview_scaling_padding">50dp</dimen> <!-- QSB --> <dimen name="toolbar_button_vertical_padding">4dip</dimen> @@ -96,4 +103,7 @@ <!-- Sizes for managed profile badges --> <dimen name="profile_badge_size">24dp</dimen> <dimen name="profile_badge_margin">4dp</dimen> + + <!-- Settings Pane dimen --> + <dimen name="settings_pane_handle">48dp</dimen> </resources> |