Merge "Making padding a little smaller in portrait to accommodate larger spanish tab text. (3393521)" into honeycomb
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?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"
|
||||
style="@style/TabIndicator.Portrait" />
|
||||
@@ -16,20 +16,4 @@
|
||||
|
||||
<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" />
|
||||
style="@style/TabIndicator" />
|
||||
|
||||
@@ -68,6 +68,28 @@
|
||||
<item name="android:layout_marginRight">10dip</item>
|
||||
</style>
|
||||
|
||||
<style name="TabIndicator">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:paddingLeft">40dp</item>
|
||||
<item name="android:paddingRight">40dp</item>
|
||||
<item name="android:paddingTop">15dp</item>
|
||||
<item name="android:paddingBottom">20dp</item>
|
||||
<item name="android:textColor">@color/tab_widget_indicator_color</item>
|
||||
<item name="android:background">@drawable/tab_widget_indicator_selector</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
<item name="android:shadowColor">#393939</item>
|
||||
<item name="android:shadowDx">0.0</item>
|
||||
<item name="android:shadowDy">1.0</item>
|
||||
<item name="android:shadowRadius">1.0</item>
|
||||
</style>
|
||||
|
||||
<style name="TabIndicator.Portrait">
|
||||
<item name="android:paddingLeft">20dp</item>
|
||||
<item name="android:paddingRight">20dp</item>
|
||||
</style>
|
||||
|
||||
<style name="SearchButton" parent="@android:style/Widget.Button.Small">
|
||||
<item name="android:paddingTop">7dip</item>
|
||||
<item name="android:paddingBottom">9dip</item>
|
||||
|
||||
Reference in New Issue
Block a user