Bug 1394361 - Tab title is cropped and not align to close button. r?jwu
MozReview-Commit-ID: JDqgSulYqAx
--- a/mobile/android/app/src/main/res/layout-large/tabs_layout_item_view.xml
+++ b/mobile/android/app/src/main/res/layout-large/tabs_layout_item_view.xml
@@ -25,17 +25,19 @@
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1.0"
style="@style/TabLayoutItemTextAppearance"
android:textSize="14sp"
android:textColor="@color/tab_item_title"
android:singleLine="true"
android:duplicateParentState="true"
+ android:layout_gravity="center_vertical"
gecko:fadeWidth="15dp"
+ android:minHeight="24dp"
android:paddingRight="5dp"
android:paddingEnd="5dp"
android:paddingLeft="0dp"
android:paddingStart="0dp"
android:drawablePadding="6dp"/>
<!-- Use of baselineAlignBottom only supported from API 11+ - if this needs to work on lower API versions
we'll need to override getBaseLine() and return image height, but we assume this won't happen -->