summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2011-06-20 17:48:03 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-06-20 17:48:03 -0700
commit47d6ef5143adbb7c9e119aec8d28a4a4df35618c (patch)
treea8c86599a64539426487a90b07c2256ecc6f0eea
parent1a3b2f627cf33f5c1be1de0dff2e4a29dada3702 (diff)
parent9812c56b1e99911e0f0ce67566cbc4eb76e15bf8 (diff)
Merge "Stop the holo tabs from sqeezing in to each other."
-rw-r--r--core/res/res/layout/tab_indicator_holo.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/res/res/layout/tab_indicator_holo.xml b/core/res/res/layout/tab_indicator_holo.xml
index 60c80e91c44f..d5fc3f41c9bc 100644
--- a/core/res/res/layout/tab_indicator_holo.xml
+++ b/core/res/res/layout/tab_indicator_holo.xml
@@ -15,17 +15,17 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="58dp"
- android:layout_weight="1"
- android:layout_marginLeft="-3dip"
- android:layout_marginRight="-3dip"
+ android:layout_weight="0"
android:paddingBottom="8dp"
android:background="@android:drawable/tab_indicator_holo">
<ImageView android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:paddingLeft="3dp"
+ android:paddingRight="3dp"
android:layout_centerHorizontal="true" />
<TextView android:id="@+id/title"
@@ -33,6 +33,8 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
+ android:paddingLeft="3dp"
+ android:paddingRight="3dp"
style="?android:attr/tabWidgetStyle" />
</RelativeLayout>