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:
parent
cac58e590c
commit
a920a33cce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue