|
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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:layout_width="fill_parent" |
|
8 android:layout_height="wrap_content" |
|
9 android:minHeight="?android:attr/listPreferredItemHeight" |
|
10 android:gravity="center_vertical" |
|
11 android:paddingLeft="15dp" |
|
12 android:paddingRight="?android:attr/scrollbarSize"> |
|
13 |
|
14 <org.mozilla.gecko.widget.FaviconView |
|
15 android:id="@+id/search_engine_icon" |
|
16 android:layout_width="@dimen/favicon_bg" |
|
17 android:layout_height="@dimen/favicon_bg" |
|
18 android:layout_gravity="center" |
|
19 android:minWidth="@dimen/favicon_bg" |
|
20 android:minHeight="@dimen/favicon_bg" /> |
|
21 |
|
22 <LinearLayout |
|
23 android:layout_width="wrap_content" |
|
24 android:layout_height="wrap_content" |
|
25 android:orientation="vertical" |
|
26 android:layout_marginLeft="15dip" |
|
27 android:layout_marginRight="6dip" |
|
28 android:layout_marginTop="6dip" |
|
29 android:layout_marginBottom="6dip"> |
|
30 |
|
31 <TextView android:id="@+android:id/title" |
|
32 android:layout_width="wrap_content" |
|
33 android:layout_height="wrap_content" |
|
34 android:textAppearance="?android:attr/textAppearanceMedium" |
|
35 android:singleLine="true" |
|
36 android:ellipsize="marquee" |
|
37 android:fadingEdge="horizontal" /> |
|
38 |
|
39 <TextView android:id="@+android:id/summary" |
|
40 android:layout_width="wrap_content" |
|
41 android:layout_height="wrap_content" |
|
42 android:textAppearance="?android:attr/textAppearanceSmall" |
|
43 android:maxLines="2" /> |
|
44 |
|
45 </LinearLayout> |
|
46 |
|
47 </LinearLayout> |