diff options
author | Andrew Flynn <flynn@google.com> | 2012-02-29 13:33:22 -0800 |
---|---|---|
committer | Andrew Flynn <flynn@google.com> | 2012-02-29 17:30:37 -0800 |
commit | 0dca1ec41479a74f8da080224fa0c7eacab674d6 (patch) | |
tree | bad4a2d319a11c4da938122bd994485a59d0dc2a /res/values-sw720dp-port | |
parent | 79b79dd57911b9f79d4fb872e70d37ee90b0cc64 (diff) | |
download | packages_apps_Trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.tar.gz packages_apps_Trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.tar.bz2 packages_apps_Trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.zip |
New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).
Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
Diffstat (limited to 'res/values-sw720dp-port')
-rw-r--r-- | res/values-sw720dp-port/dimens.xml | 26 | ||||
-rw-r--r-- | res/values-sw720dp-port/styles.xml | 24 |
2 files changed, 46 insertions, 4 deletions
diff --git a/res/values-sw720dp-port/dimens.xml b/res/values-sw720dp-port/dimens.xml index 52c105d1b..2e0d74a3c 100644 --- a/res/values-sw720dp-port/dimens.xml +++ b/res/values-sw720dp-port/dimens.xml @@ -15,9 +15,6 @@ --> <resources> -<!-- Workspace --> - <dimen name="workspace_page_spacing">24dp</dimen> - <!-- AppsCustomize --> <integer name="apps_customize_maxCellCountX">-1</integer> <integer name="apps_customize_maxCellCountY">7</integer> @@ -29,4 +26,25 @@ xlarge --> <integer name="apps_customize_widget_cell_count_x">3</integer> <integer name="apps_customize_widget_cell_count_y">3</integer> -</resources>
\ No newline at end of file + +<!-- Workspace --> + <!-- the area at the edge of the screen that makes the workspace go left + or right while you're dragging. --> + <dimen name="scroll_zone">40dp</dimen> + + <dimen name="workspace_left_padding">15dip</dimen> + <dimen name="workspace_right_padding">15dip</dimen> + <dimen name="workspace_top_padding">25dip</dimen> + <dimen name="workspace_bottom_padding">25dip</dimen> + <dimen name="workspace_width_gap">0dp</dimen> + <dimen name="workspace_height_gap">32dp</dimen> + <dimen name="workspace_page_spacing">24dp</dimen> + + <integer name="apps_customize_cling_focused_x">2</integer> + <integer name="apps_customize_cling_focused_y">2</integer> + +<!-- Cling --> + <!-- The offset for the text in the cling --> + <dimen name="cling_text_block_offset_x">80dp</dimen> + <dimen name="cling_text_block_offset_y">160dp</dimen> +</resources> diff --git a/res/values-sw720dp-port/styles.xml b/res/values-sw720dp-port/styles.xml new file mode 100644 index 000000000..57f07acaf --- /dev/null +++ b/res/values-sw720dp-port/styles.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +* Copyright (C) 2011 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. +*/ +--> + +<resources> + <style name="TabIndicator.AppsCustomize"> + <item name="android:maxWidth">180dp</item> + </style> +</resources> |