summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-05-17 16:47:01 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-05-17 16:47:01 -0700
commit2649380163039804809d38612e490f02dd14f169 (patch)
tree670a7ea32f76c486b7f98719f10a6e3102631e46 /res
parentccdc7bbd51dd5fe250a9ad27790bbbf974579b5a (diff)
parent5358c83ad55b76062a032d7f0b3a79c863433e78 (diff)
downloadpackages_apps_Browser-2649380163039804809d38612e490f02dd14f169.zip
packages_apps_Browser-2649380163039804809d38612e490f02dd14f169.tar.gz
packages_apps_Browser-2649380163039804809d38612e490f02dd14f169.tar.bz2
am 5358c83a: Merge "adjust tab width for screen size" into honeycomb-mr2
* commit '5358c83ad55b76062a032d7f0b3a79c863433e78': adjust tab width for screen size
Diffstat (limited to 'res')
-rw-r--r--res/values-w720dp/dimensions.xml19
-rw-r--r--res/values/dimensions.xml4
2 files changed, 21 insertions, 2 deletions
diff --git a/res/values-w720dp/dimensions.xml b/res/values-w720dp/dimensions.xml
new file mode 100644
index 0000000..dcb5927
--- /dev/null
+++ b/res/values-w720dp/dimensions.xml
@@ -0,0 +1,19 @@
+<?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
+ xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- The width of a selected tab -->
+ <dimen name="tab_width_selected">280dp</dimen>
+ <!-- The width of an unselected tab -->
+ <dimen name="tab_width_unselected">240dp</dimen>
+</resources>
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index 99eb43e..50e802d 100644
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -13,9 +13,9 @@
<resources
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- The width of a selected tab -->
- <dimen name="tab_width_selected">280dp</dimen>
+ <dimen name="tab_width_selected">200dp</dimen>
<!-- The width of an unselected tab -->
- <dimen name="tab_width_unselected">240dp</dimen>
+ <dimen name="tab_width_unselected">160dp</dimen>
<dimen name="tab_height">44dp</dimen>
<dimen name="tab_overlap">8dp</dimen>
<dimen name="tab_addoverlap">14dp</dimen>