|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <merge xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 xmlns:gecko="http://schemas.android.com/apk/res-auto"> |
|
8 |
|
9 <ImageView android:id="@+id/icon" |
|
10 android:layout_width="48dip" |
|
11 android:layout_height="48dip" |
|
12 android:layout_marginLeft="10dp" |
|
13 android:scaleType="centerInside"/> |
|
14 |
|
15 <org.mozilla.gecko.widget.EllipsisTextView |
|
16 android:id="@+id/text" |
|
17 android:layout_width="0dip" |
|
18 android:layout_height="fill_parent" |
|
19 android:layout_weight="1" |
|
20 android:layout_marginLeft="10dp" |
|
21 android:paddingTop="7dp" |
|
22 android:paddingBottom="7dp" |
|
23 android:textAppearance="@style/TextAppearance.Widget.HomeBanner" |
|
24 android:layout_gravity="bottom" |
|
25 android:gravity="center_vertical" |
|
26 gecko:ellipsizeAtLine="3"/> |
|
27 |
|
28 <ImageButton android:id="@+id/close" |
|
29 android:layout_width="34dip" |
|
30 android:layout_height="fill_parent" |
|
31 android:background="@drawable/home_banner" |
|
32 android:scaleType="center" |
|
33 android:contentDescription="@string/close_tab" |
|
34 android:src="@drawable/tab_close"/> |
|
35 |
|
36 </merge> |