|
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 |
|
8 <org.mozilla.gecko.widget.SquaredImageView |
|
9 android:id="@+id/image" |
|
10 android:layout_width="fill_parent" |
|
11 android:layout_height="wrap_content" |
|
12 android:scaleType="centerCrop" |
|
13 android:adjustViewBounds="true" |
|
14 android:background="@color/panel_image_item_background"/> |
|
15 |
|
16 <LinearLayout android:id="@+id/title_desc_container" |
|
17 android:layout_width="fill_parent" |
|
18 android:layout_height="@dimen/page_row_height" |
|
19 android:paddingTop="7dip" |
|
20 android:paddingBottom="7dip" |
|
21 android:paddingLeft="5dip" |
|
22 android:paddingRight="5dip" |
|
23 android:orientation="vertical"> |
|
24 |
|
25 <TextView android:id="@+id/title" |
|
26 style="@style/Widget.PanelItemView.Title" |
|
27 android:layout_width="fill_parent" |
|
28 android:layout_height="0dp" |
|
29 android:layout_weight="1" |
|
30 android:gravity="center_vertical" |
|
31 android:singleLine="true"/> |
|
32 |
|
33 <TextView android:id="@+id/description" |
|
34 style="@style/Widget.PanelItemView.Description" |
|
35 android:layout_width="fill_parent" |
|
36 android:layout_height="0dp" |
|
37 android:layout_weight="1" |
|
38 android:gravity="center_vertical" |
|
39 android:singleLine="true" |
|
40 android:maxLength="1024"/> |
|
41 |
|
42 </LinearLayout> |
|
43 |
|
44 </merge> |