mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1093192 - Align close button in new tab grid (r=lucasr)
This commit is contained in:
parent
027dc354db
commit
c2a010a4aa
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user