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 |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 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 | |
| 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 18 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 19 | android:layout_height="wrap_content" |
| 20 | android:minHeight="?android:attr/listPreferredItemHeight" |
| 21 | android:orientation="horizontal" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 22 | android:paddingLeft="20dip" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 23 | > |
| 24 | <ImageView android:id="@+id/favicon" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 25 | android:layout_width="32dip" |
| 26 | android:layout_height="32dip" |
| 27 | android:layout_gravity="center_vertical" |
| 28 | android:scaleType="fitXY" |
| 29 | android:background="@drawable/bookmark_list_favicon_bg" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 30 | android:src="@drawable/app_web_browser_sm" |
| 31 | /> |
| 32 | <LinearLayout android:layout_width="0dip" |
| 33 | android:layout_weight="1" |
| 34 | android:layout_height="wrap_content" |
| 35 | android:orientation="vertical" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 36 | android:paddingLeft="16dip" |
| 37 | android:layout_gravity="center_vertical" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 38 | > |
| 39 | <TextView android:id="@+id/title" |
| 40 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 41 | android:maxLines="1" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:singleLine="true" |
John Reck | 778bd2e | 2011-04-13 12:30:01 -0700 | [diff] [blame] | 45 | android:ellipsize="marquee" |
| 46 | android:marqueeRepeatLimit="marquee_forever" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 47 | /> |
| 48 | <TextView android:id="@+id/url" |
| 49 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 50 | android:maxLines="1" |
| 51 | android:layout_width="wrap_content" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:singleLine="true" |
John Reck | 778bd2e | 2011-04-13 12:30:01 -0700 | [diff] [blame] | 54 | android:ellipsize="marquee" |
| 55 | android:marqueeRepeatLimit="marquee_forever" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 56 | /> |
| 57 | </LinearLayout> |
| 58 | <CheckBox android:id="@+id/star" |
| 59 | android:layout_width="wrap_content" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 60 | android:layout_height="wrap_content" |
| 61 | android:paddingTop="16dip" |
| 62 | android:paddingBottom="16dip" |
| 63 | android:paddingRight="20dip" |
| 64 | android:paddingLeft="16dip" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 65 | android:focusable="false" |
John Reck | 0ce8a94 | 2011-01-14 19:57:09 -0800 | [diff] [blame] | 66 | android:button="@drawable/btn_checkbox_star" |
| 67 | android:layout_gravity="center_vertical" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 68 | /> |
| 69 | </LinearLayout> |