12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?xml version="1.0" encoding="utf-8"?>
- <!-- Copyright (C) 2008 The Android Open Source Project
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <com.android.browser.view.BookmarkContainer xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="@dimen/combo_horizontalSpacing"
- android:background="@drawable/bookmark_thumb_selector"
- >
- <ImageView
- android:id="@+id/thumb"
- android:src="@drawable/browser_thumbnail"
- android:scaleType="centerCrop"
- android:layout_height="@dimen/bookmarkThumbnailHeight"
- android:layout_width="@dimen/bookmarkThumbnailWidth"
- android:layout_centerHorizontal="true"
- android:background="@drawable/border_thumb_bookmarks_widget_holo"
- />
- <ImageView
- android:id="@+id/divider"
- android:src="?android:attr/dividerVertical"
- android:layout_width="wrap_content"
- android:layout_height="24dip"
- android:layout_below="@+id/thumb"
- android:layout_alignLeft="@+id/thumb"
- android:scaleType="fitXY"
- android:layout_marginTop="12dip"
- />
- <TextView android:id="@+id/label"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_toRightOf="@id/divider"
- android:layout_alignTop="@id/divider"
- android:layout_alignBottom="@id/divider"
- android:layout_alignRight="@+id/thumb"
- android:paddingLeft="8dip"
- android:paddingRight="2dip"
- android:gravity="center_vertical"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:typeface="sans"
- android:textSize="14sp"
- android:textColor="#AAAAAA"
- />
- </com.android.browser.view.BookmarkContainer>
|