Bug 1093192 - Align close button in new tab grid (r=lucasr)

This commit is contained in:
Martyn Haigh 2014-11-04 18:04:08 +00:00
parent fb3d3a225e
commit cae0ee860b

View File

@ -34,11 +34,15 @@
gecko:fadeWidth="15dp"
android:paddingRight="5dp"/>
<!-- 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 -->
<ImageButton android:id="@+id/close"
style="@style/TabsItemClose"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:scaleType="center"
android:baselineAlignBottom="true"
android:background="@android:color/transparent"
android:contentDescription="@string/close_tab"
android:src="@drawable/new_tablet_tab_item_close_button"