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/styles.xml | |
parent | 79b79dd57911b9f79d4fb872e70d37ee90b0cc64 (diff) | |
download | packages_apps_trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.zip packages_apps_trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.tar.gz packages_apps_trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.tar.bz2 |
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/styles.xml')
-rw-r--r-- | res/values-sw720dp/styles.xml | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/res/values-sw720dp/styles.xml b/res/values-sw720dp/styles.xml new file mode 100644 index 0000000..87110da --- /dev/null +++ b/res/values-sw720dp/styles.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +* Copyright (C) 2008 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> +<!-- Clings --> + <style name="ClingButton"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:paddingTop">10dp</item> + <item name="android:paddingBottom">15dp</item> + <item name="android:paddingLeft">35dp</item> + <item name="android:paddingRight">35dp</item> + <item name="android:text">@string/cling_dismiss</item> + <item name="android:textSize">20sp</item> + <item name="android:textStyle">bold</item> + <item name="android:background">@drawable/cling_button_bg</item> + </style> + <style name="ClingTitleText"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:layout_marginBottom">5dp</item> + <item name="android:textSize">32sp</item> + <item name="android:textColor">#49C0EC</item> + <item name="android:shadowColor">#000000</item> + <item name="android:shadowDy">2</item> + <item name="android:shadowRadius">2.0</item> + </style> + <style name="ClingText"> + <item name="android:textSize">22sp</item> + <item name="android:textColor">#FFFFFF</item> + <item name="android:shadowColor">#000000</item> + <item name="android:shadowDy">2</item> + <item name="android:shadowRadius">2.0</item> + <item name="android:lineSpacingMultiplier">1.1</item> + </style> + +<!-- Workspace --> + <style name="WorkspaceIcon.Portrait"> + <item name="android:drawablePadding">0dp</item> + <item name="android:paddingLeft">4dp</item> + <item name="android:paddingRight">4dp</item> + <item name="android:paddingTop">@dimen/app_icon_padding_top</item> + <item name="android:paddingBottom">4dp</item> + <item name="android:textSize">13sp</item> + </style> + <style name="WorkspaceIcon.Portrait.Folder"> + <item name="android:drawablePadding">0dp</item> + <item name="android:paddingLeft">4dp</item> + <item name="android:paddingRight">4dp</item> + <item name="android:paddingTop">0dp</item> + <item name="android:paddingBottom">0dp</item> + <item name="android:textSize">13sp</item> + <item name="android:layout_marginTop">-2dp</item> + </style> + <style name="WorkspaceIcon.Landscape"> + <item name="android:drawablePadding">0dp</item> + <item name="android:paddingLeft">4dp</item> + <item name="android:paddingRight">4dp</item> + <item name="android:paddingTop">@dimen/app_icon_padding_top</item> + <item name="android:paddingBottom">4dp</item> + <item name="android:textSize">13sp</item> + </style> + <style name="WorkspaceIcon.Landscape.Folder"> + <item name="android:drawablePadding">0dp</item> + <item name="android:paddingLeft">4dp</item> + <item name="android:paddingRight">4dp</item> + <item name="android:paddingTop">0dp</item> + <item name="android:paddingBottom">0dp</item> + <item name="android:textSize">13sp</item> + <item name="android:layout_marginTop">-2dp</item> + </style> + + <style name="Theme" parent="android:Theme.Holo.Wallpaper.NoTitleBar"> + <item name="android:windowActionModeOverlay">true</item> + </style> + + <style name="Theme.WallpaperPicker"> + <item name="android:screenOrientation">unspecified</item> + </style> + + <style name="WorkspaceIcon.Portrait.AppsCustomize"> + <item name="android:background">@null</item> + <item name="android:paddingTop">0dp</item> + <item name="android:paddingBottom">0dp</item> + <item name="android:paddingLeft">0dp</item> + <item name="android:paddingRight">0dp</item> + <item name="android:drawablePadding">4dp</item> + <item name="android:textSize">13sp</item> + </style> + <style name="WorkspaceIcon.Landscape.AppsCustomize"> + <item name="android:background">@null</item> + <item name="android:paddingTop">0dp</item> + <item name="android:paddingBottom">0dp</item> + <item name="android:drawablePadding">4dp</item> + <item name="android:textSize">13sp</item> + </style> + <style name="TabIndicator.AppsCustomize"> + <item name="android:paddingLeft">32dp</item> + <item name="android:paddingRight">32dp</item> + <item name="android:textSize">14sp</item> + <item name="android:maxWidth">240dp</item> + </style> + + <!-- QSB Search / Drop Target bar --> + <style name="QSBBar"> + <item name="android:orientation">horizontal</item> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">@dimen/qsb_bar_height</item> + <item name="android:layout_gravity">top|center_horizontal</item> + </style> + <style name="SearchDropTargetBar"> + <item name="android:orientation">horizontal</item> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">match_parent</item> + </style> + <style name="SearchButton"> + <item name="android:layout_gravity">center_vertical</item> + <item name="android:paddingTop">@dimen/toolbar_button_vertical_padding</item> + <item name="android:paddingBottom">@dimen/toolbar_button_vertical_padding</item> + <item name="android:paddingLeft">@dimen/toolbar_button_horizontal_padding</item> + <item name="android:paddingRight">@dimen/toolbar_button_horizontal_padding</item> + </style> + <style name="SearchButton.Voice"> + <item name="android:paddingLeft">18dp</item> + <item name="android:paddingRight">18dp</item> + </style> + <style name="SearchButtonDivider"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">match_parent</item> + <item name="android:layout_gravity">center_vertical</item> + </style> + <style name="DropTargetButtonContainer"> + <item name="android:layout_width">0dp</item> + <item name="android:layout_height">match_parent</item> + </style> + <style name="DropTargetButton"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">match_parent</item> + <item name="android:layout_gravity">center</item> + <item name="android:gravity">center_vertical</item> + <item name="android:drawablePadding">7.5dp</item> + <item name="android:paddingLeft">60dp</item> + <item name="android:paddingRight">60dp</item> + <item name="android:textColor">#FFFFFFFF</item> + <item name="android:textSize">16sp</item> + <item name="android:shadowColor">#393939</item> + <item name="android:shadowDx">0.0</item> + <item name="android:shadowDy">0.0</item> + <item name="android:shadowRadius">2.0</item> + </style> +</resources> |