Fix actionbar text alignment

Workaround a bug in the framework where an explicit gravity=left
seems to actually mean right. We probably shouldn't explicitly set it to
left anyways, and let it be the default, since the framework will do the
right thing when RTL locales are supported.

Bug: 5002512
Change-Id: I9090a676849d3b6f5e1abc812ef6fc2e049ac6bf
This commit is contained in:
Ben Komalo 2011-07-10 18:10:31 -07:00
parent cac58e590c
commit a920a33cce
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
android:textColor="@color/text_primary_color"
android:singleLine="true"
android:ellipsize="end"
android:gravity="left|center_vertical"
android:gravity="center_vertical"
/>
<TextView
android:id="@+id/spinner_line_2"
@ -48,7 +48,7 @@
android:textColor="@color/text_primary_color"
android:singleLine="true"
android:ellipsize="end"
android:gravity="left|center_vertical"
android:gravity="center_vertical"
/>
</LinearLayout>
<TextView