Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [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 | |
Leon Scroggins | 89c6d36 | 2009-07-15 16:54:37 -0400 | [diff] [blame^] | 17 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 18 | android:layout_width="fill_parent" |
| 19 | android:orientation="vertical" |
| 20 | android:padding="4dip" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 21 | > |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 22 | |
| 23 | <ImageView android:id="@+id/thumb" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 24 | android:src="@drawable/blank" |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 25 | android:scaleType="center" |
Leon Scroggins | 89c6d36 | 2009-07-15 16:54:37 -0400 | [diff] [blame^] | 26 | android:layout_width="100dip" |
| 27 | android:layout_height="80dip" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 28 | /> |
| 29 | |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 30 | <ImageView android:id="@+id/fav" |
| 31 | android:scaleType="center" |
| 32 | android:layout_width="20dip" |
| 33 | android:layout_height="20dip" |
Leon Scroggins | 89c6d36 | 2009-07-15 16:54:37 -0400 | [diff] [blame^] | 34 | android:layout_alignBottom="@+id/thumb" |
| 35 | android:background="@color/white" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 36 | /> |
Leon Scroggins | 89c6d36 | 2009-07-15 16:54:37 -0400 | [diff] [blame^] | 37 | <LinearLayout android:id="@+id/holder" |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 38 | android:layout_height="wrap_content" |
Leon Scroggins | 89c6d36 | 2009-07-15 16:54:37 -0400 | [diff] [blame^] | 39 | android:layout_width="fill_parent" |
| 40 | android:orientation="horizontal" |
| 41 | android:background="#cc000000" |
| 42 | android:gravity="center" |
| 43 | android:layout_alignBottom="@+id/thumb" |
| 44 | > |
| 45 | <ImageView |
| 46 | android:layout_height="wrap_content" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_marginTop="3dip" |
| 49 | android:layout_marginBottom="3dip" |
| 50 | android:src="@drawable/ic_tab_browser_bookmark_selected" |
| 51 | /> |
| 52 | <TextView |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 56 | android:textStyle="bold" |
| 57 | android:textColor="@color/white" |
| 58 | android:text="@string/add_bookmark_short" |
| 59 | /> |
| 60 | </LinearLayout> |
| 61 | <!-- Keep the width in sync with BrowserBookmarksPage and |
| 62 | BrowserActivity.updateScreenshot --> |
| 63 | <TextView android:id="@+id/label" |
| 64 | android:layout_width="100dip" |
| 65 | android:layout_height="wrap_content" |
| 66 | android:layout_below="@+id/thumb" |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 67 | android:layout_gravity="bottom" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 68 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 69 | android:textStyle="bold" |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 70 | android:textColor="@color/white" |
| 71 | android:maxLines="1" |
| 72 | android:paddingTop="3dip" |
| 73 | android:paddingBottom="3dip" |
| 74 | android:paddingLeft="2dip" |
| 75 | android:paddingRight="2dip" |
| 76 | android:scrollHorizontally="true" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 77 | android:ellipsize="marquee" |
| 78 | /> |
Leon Scroggins | 89c6d36 | 2009-07-15 16:54:37 -0400 | [diff] [blame^] | 79 | </RelativeLayout> |