The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2007 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 |
Wink Saville | 79085fc | 2009-06-09 10:27:23 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Wink Saville | 79085fc | 2009-06-09 10:27:23 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 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 | |
Wink Saville | 79085fc | 2009-06-09 10:27:23 -0700 | [diff] [blame] | 17 | |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 3a6cabb | 2010-01-08 15:07:12 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 21 | android:gravity="center" |
| 22 | android:orientation="horizontal"> |
| 23 | |
| 24 | <ImageView |
| 25 | android:id="@+id/icon" |
| 26 | android:scaleType="fitCenter" |
| 27 | android:layout_width="@android:dimen/app_icon_size" |
| 28 | android:layout_height="@android:dimen/app_icon_size" |
| 29 | android:layout_gravity="center_vertical" |
| 30 | android:layout_marginLeft="5dip" |
| 31 | /> |
| 32 | |
Wink Saville | 79085fc | 2009-06-09 10:27:23 -0700 | [diff] [blame] | 33 | <TextView |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 34 | android:id="@+id/text" |
Romain Guy | 3a6cabb | 2010-01-08 15:07:12 -0800 | [diff] [blame] | 35 | android:layout_width="match_parent" |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 36 | android:layout_height="wrap_content" |
| 37 | android:maxLength="234" |
| 38 | android:minHeight="?android:attr/listPreferredItemHeight" |
| 39 | android:textAppearance="?android:attr/textAppearanceLarge" |
| 40 | android:gravity="center_vertical" |
| 41 | android:layout_marginLeft="9dip" |
| 42 | /> |
| 43 | |
| 44 | </LinearLayout> |