am a28d0708: Merge "Making padding a little smaller in portrait to accommodate larger spanish tab text. (3393521)" into honeycomb
* commit 'a28d0708b1687b53ba415ad27ee7578863c3c821': Making padding a little smaller in portrait to accommodate larger spanish tab text. (3393521)
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
|
<TextView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
style="@style/TabIndicator" />
|
||||||
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" />
|
|
||||||
|
|||||||
@@ -68,6 +68,28 @@
|
|||||||
<item name="android:layout_marginRight">10dip</item>
|
<item name="android:layout_marginRight">10dip</item>
|
||||||
</style>
|
</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">
|
<style name="SearchButton" parent="@android:style/Widget.Button.Small">
|
||||||
<item name="android:paddingTop">7dip</item>
|
<item name="android:paddingTop">7dip</item>
|
||||||
<item name="android:paddingBottom">9dip</item>
|
<item name="android:paddingBottom">9dip</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user