Michael Kolb | eb95db4 | 2011-03-03 10:38:40 -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" |
| 18 | android:layout_width="wrap_content" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:orientation="vertical" |
| 21 | android:background="@color/black" |
| 22 | android:padding="0dip" |
| 23 | > |
| 24 | <TextView android:id="@+id/title1" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
| 27 | android:paddingLeft="8dip" |
| 28 | android:paddingRight="2dip" |
| 29 | android:paddingTop="1dip" |
| 30 | android:paddingBottom="1dip" |
| 31 | android:gravity="center_vertical" |
| 32 | android:singleLine="true" |
| 33 | android:ellipsize="marquee" |
| 34 | android:typeface="sans" |
| 35 | android:textSize="12sp" |
| 36 | android:textColor="#DDDDDD" |
| 37 | /> |
| 38 | <ImageView |
| 39 | android:id="@+id/thumb" |
Michael Kolb | 0241e75 | 2011-07-07 14:58:50 -0700 | [diff] [blame] | 40 | android:layout_height="@dimen/qc_thumb_width" |
| 41 | android:layout_width="@dimen/qc_thumb_height" |
Michael Kolb | eb95db4 | 2011-03-03 10:38:40 -0800 | [diff] [blame] | 42 | android:layout_marginTop= "1dip" |
| 43 | android:layout_marginLeft= "1dip" |
| 44 | android:layout_marginRight= "1dip" |
| 45 | android:layout_marginBottom= "1dip" |
| 46 | android:src="@drawable/browser_thumbnail" |
| 47 | android:scaleType="centerCrop" |
| 48 | /> |
| 49 | <TextView android:id="@+id/title2" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="20dip" |
| 52 | android:paddingLeft="8dip" |
| 53 | android:paddingRight="2dip" |
| 54 | android:gravity="center_vertical" |
| 55 | android:singleLine="true" |
| 56 | android:ellipsize="marquee" |
| 57 | android:typeface="sans" |
| 58 | android:textSize="12sp" |
| 59 | android:textColor="#DDDDDD" |
| 60 | /> |
| 61 | </LinearLayout> |