blob: df9e853540ac42f3537e053788f57b1fd081e29f [file] [log] [blame]
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -04001<?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 Amirzada41242f22014-03-21 12:12:18 -070017<com.android.browser.view.BookmarkContainer
Bijan Amirzada9b1e9882014-02-26 17:15:46 -080018 xmlns:android="http://schemas.android.com/apk/res/android"
John Reck71efc2b2011-05-09 16:54:28 -070019 android:layout_width="wrap_content"
20 android:layout_height="wrap_content"
Vivek Sekhared791da2015-02-22 12:39:05 -080021 android:paddingStart="@dimen/combo_horizontalSpacing"
22 android:paddingEnd="@dimen/combo_horizontalSpacing"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080023 android:layout_margin="@dimen/combo_bookmark_thumbnail_margin"
John Reck71efc2b2011-05-09 16:54:28 -070024 android:background="@drawable/bookmark_thumb_selector"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080025 android:orientation="vertical"
Leon Scroggins266ef432009-07-07 11:25:28 -040026 >
Leon Scrogginsb6b7f9e2009-06-18 12:05:28 -040027
Pankaj Garg6bedeba2015-06-23 15:47:37 -070028 <FrameLayout
Romain Guy15b8ec62010-01-08 15:06:43 -080029 android:layout_width="match_parent"
Pankaj Garg6bedeba2015-06-23 15:47:37 -070030 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 Scroggins8b4ea192009-09-21 19:05:49 -040062
Bijan Amirzada41242f22014-03-21 12:12:18 -070063</com.android.browser.view.BookmarkContainer>