The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 7 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 9 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:minHeight="?android:attr/listPreferredItemHeight" |
| 21 | android:orientation="horizontal"> |
| 22 | |
Pankaj Garg | 21dad56 | 2015-07-02 17:17:24 -0700 | [diff] [blame] | 23 | <com.android.browser.SiteTileView |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 24 | android:id="@+id/favicon" |
Pankaj Garg | 21dad56 | 2015-07-02 17:17:24 -0700 | [diff] [blame] | 25 | android:layout_width="36dip" |
| 26 | android:layout_height="36dip" |
| 27 | android:layout_gravity="center" |
| 28 | android:layout_marginStart="12dip" /> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 29 | |
| 30 | <LinearLayout |
| 31 | android:layout_width="0dip" |
| 32 | android:layout_height="wrap_content" |
| 33 | android:layout_gravity="center_vertical" |
| 34 | android:layout_weight="1" |
| 35 | android:orientation="vertical" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 36 | android:paddingStart="8dip" |
| 37 | android:paddingEnd="8dip"> |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 38 | |
| 39 | <TextView |
| 40 | android:id="@+id/title" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 41 | android:layout_width="wrap_content" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 42 | android:layout_height="wrap_content" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 43 | android:ellipsize="end" |
| 44 | android:maxLines="1" |
| 45 | android:singleLine="true" |
| 46 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 47 | |
| 48 | <TextView |
| 49 | android:id="@+id/url" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:ellipsize="middle" |
| 53 | android:maxLines="1" |
| 54 | android:singleLine="true" |
| 55 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
| 56 | </LinearLayout> |
| 57 | |
| 58 | <CheckBox |
| 59 | android:id="@+id/star" |
| 60 | android:layout_width="wrap_content" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:layout_gravity="center" |
| 63 | android:button="@drawable/ic_action_bookmark" |
| 64 | android:focusable="false" |
| 65 | android:paddingBottom="16dip" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 66 | android:paddingStart="8dip" |
| 67 | android:paddingEnd="8dip" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 68 | android:paddingTop="16dip" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 69 | </LinearLayout> |