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 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 17 | <com.android.browser.view.BookmarkContainer |
Bijan Amirzada | 9b1e988 | 2014-02-26 17:15:46 -0800 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
John Reck | 71efc2b | 2011-05-09 16:54:28 -0700 | [diff] [blame] | 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
Vivek Sekhar | ed791da | 2015-02-22 12:39:05 -0800 | [diff] [blame] | 21 | android:paddingStart="@dimen/combo_horizontalSpacing" |
| 22 | android:paddingEnd="@dimen/combo_horizontalSpacing" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 23 | android:layout_margin="@dimen/combo_bookmark_thumbnail_margin" |
John Reck | 71efc2b | 2011-05-09 16:54:28 -0700 | [diff] [blame] | 24 | android:background="@drawable/bookmark_thumb_selector" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 25 | android:orientation="vertical" |
Leon Scroggins | 266ef43 | 2009-07-07 11:25:28 -0400 | [diff] [blame] | 26 | > |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 27 | |
Pankaj Garg | 6bedeba | 2015-06-23 15:47:37 -0700 | [diff] [blame^] | 28 | <FrameLayout |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Pankaj Garg | 6bedeba | 2015-06-23 15:47:37 -0700 | [diff] [blame^] | 30 | android:layout_height="match_parent"> |
| 31 | |
| 32 | <com.android.browser.view.BookmarkThumbImageView |
| 33 | android:id="@+id/thumb_image" |
| 34 | android:layout_width="@dimen/bookmarkThumbnailWidth" |
| 35 | android:layout_height="@dimen/bookmarkThumbnailHeight" |
| 36 | android:paddingTop="2dip" |
| 37 | android:scaleType="centerCrop" |
| 38 | android:src="@drawable/browser_thumbnail" |
| 39 | /> |
| 40 | |
| 41 | <LinearLayout |
| 42 | android:layout_width="fill_parent" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:layout_gravity="bottom" |
| 45 | android:background="@color/bookmarkWidgetFolderBackground" |
| 46 | android:orientation="vertical" > |
| 47 | |
| 48 | <TextView |
| 49 | android:id="@+id/label" |
| 50 | android:layout_width="@dimen/bookmarkThumbnailWidth" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:ellipsize="marquee" |
| 53 | android:paddingStart="8dip" |
| 54 | android:paddingEnd="4dip" |
| 55 | android:paddingTop="2dip" |
| 56 | android:paddingBottom="2dip" |
| 57 | android:singleLine="true" |
| 58 | android:textAppearance="@style/BookmarkText" |
| 59 | /> |
| 60 | </LinearLayout> |
| 61 | </FrameLayout> |
Leon Scroggins | 8b4ea19 | 2009-09-21 19:05:49 -0400 | [diff] [blame] | 62 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 63 | </com.android.browser.view.BookmarkContainer> |