diff options
author | Andrew Flynn <flynn@google.com> | 2012-05-12 17:00:35 -0700 |
---|---|---|
committer | Andrew Flynn <flynn@google.com> | 2012-05-13 16:31:16 -0700 |
commit | 2f5f945704a958470a51214399af9aee7bf6568d (patch) | |
tree | 60698e7c1d03ebb84f1d9bcd91221b2cc3e6a677 /res/values-sw600dp | |
parent | 28b952ad3ec46ba9d14063797c1c96984ade8deb (diff) | |
download | android_packages_apps_Trebuchet-2f5f945704a958470a51214399af9aee7bf6568d.tar.gz android_packages_apps_Trebuchet-2f5f945704a958470a51214399af9aee7bf6568d.tar.bz2 android_packages_apps_Trebuchet-2f5f945704a958470a51214399af9aee7bf6568d.zip |
Support for 600dp & custom clings
Change-Id: Ifea85be6ff062c61664a3f0ec6c1c24a1fc7b559
Diffstat (limited to 'res/values-sw600dp')
-rw-r--r-- | res/values-sw600dp/dimens.xml | 2 | ||||
-rw-r--r-- | res/values-sw600dp/styles.xml | 50 |
2 files changed, 51 insertions, 1 deletions
diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml index 1ab495f75..3b70d4ff8 100644 --- a/res/values-sw600dp/dimens.xml +++ b/res/values-sw600dp/dimens.xml @@ -16,6 +16,7 @@ <resources> <dimen name="app_icon_size">64dp</dimen> + <dimen name="reveal_radius">64dp</dimen> <dimen name="app_icon_drawable_padding">3dp</dimen> <dimen name="app_icon_padding_top">4dp</dimen> @@ -64,5 +65,4 @@ <dimen name="workspace_width_gap_port">6dp</dimen> <dimen name="workspace_height_gap_land">0dp</dimen> <dimen name="workspace_height_gap_port">24dp</dimen> - </resources> diff --git a/res/values-sw600dp/styles.xml b/res/values-sw600dp/styles.xml new file mode 100644 index 000000000..200c0a0bd --- /dev/null +++ b/res/values-sw600dp/styles.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +* Copyright (C) 2012 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="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: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">30sp</item> + <item name="android:textColor">#33B5E5</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> +</resources> |