diff options
author | Winson Chung <winsonc@google.com> | 2010-11-29 14:48:30 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-11-30 10:51:44 -0800 |
commit | 49767aefe5b32d523ba1e43696f8adafa64a778f (patch) | |
tree | 47c8ea42dc2d0bc98cf643fba4e299485e1060da /res/layout-xlarge | |
parent | 016dca2030ea18d9f909654ff53b9eff86ac233b (diff) | |
download | android_packages_apps_Trebuchet-49767aefe5b32d523ba1e43696f8adafa64a778f.tar.gz android_packages_apps_Trebuchet-49767aefe5b32d523ba1e43696f8adafa64a778f.tar.bz2 android_packages_apps_Trebuchet-49767aefe5b32d523ba1e43696f8adafa64a778f.zip |
Adding background protection for tab labels in AllApps/Customize and modified padding to match mockups.
Change-Id: I7f3b37d892fdf5a702a66d68e1bbdf333068d7ec
Diffstat (limited to 'res/layout-xlarge')
-rw-r--r-- | res/layout-xlarge/tab_widget_indicator.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/res/layout-xlarge/tab_widget_indicator.xml b/res/layout-xlarge/tab_widget_indicator.xml new file mode 100644 index 000000000..1b3f1c074 --- /dev/null +++ b/res/layout-xlarge/tab_widget_indicator.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<TextView + xmlns:android="http://schemas.android.com/apk/res/android" + + android:id="@+id/title" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:gravity="center" + android:paddingLeft="40dp" + android:paddingRight="40dp" + android:paddingTop="15dp" + android:paddingBottom="20dp" + + android:textColor="@color/tab_widget_indicator_color" + android:background="@drawable/tab_widget_indicator_selector" + android:textSize="20sp" + android:shadowColor="#393939" + android:shadowDx="0.0" + android:shadowDy="1.0" + android:shadowRadius="1.0" /> |