The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 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" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 20 | android:orientation="vertical" |
| 21 | > |
| 22 | |
| 23 | <LinearLayout |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 24 | android:layout_width="match_parent" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 25 | android:layout_height="wrap_content" |
| 26 | android:background="@android:drawable/title_bar_tall" |
| 27 | android:orientation="horizontal" |
| 28 | android:gravity="center_vertical" |
| 29 | android:paddingLeft="9dip" |
| 30 | android:paddingRight="5dip" |
| 31 | > |
| 32 | |
| 33 | <ImageView android:id="@+id/icon" |
| 34 | android:layout_width="32dip" |
| 35 | android:layout_height="32dip" |
| 36 | android:layout_marginRight="5dip" |
| 37 | /> |
| 38 | |
| 39 | <LinearLayout |
| 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:gravity="center_vertical" |
| 43 | android:orientation="vertical" |
| 44 | android:layout_marginLeft="5dip" |
| 45 | > |
| 46 | |
| 47 | <TextView android:id="@+id/type" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:textAppearance="?android:attr/textAppearanceLarge" |
| 51 | /> |
| 52 | |
| 53 | <TextView android:id="@+id/time" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 57 | android:textColor="?android:attr/textColorPrimaryInverse" |
| 58 | /> |
| 59 | |
| 60 | <TextView android:id="@+id/duration" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
| 63 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 64 | android:textColor="?android:attr/textColorPrimaryInverse" |
| 65 | /> |
| 66 | |
| 67 | </LinearLayout> |
| 68 | |
| 69 | </LinearLayout> |
| 70 | |
| 71 | <FrameLayout |
| 72 | android:layout_height="0dip" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 73 | android:layout_width="match_parent" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 74 | android:layout_weight="1" |
| 75 | > |
| 76 | <ListView android:id="@android:id/list" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 77 | android:layout_width="match_parent" |
| 78 | android:layout_height="match_parent" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 79 | android:scrollbarStyle="outsideOverlay" |
| 80 | /> |
| 81 | |
Amith Yamasani | 8bbe2f2 | 2009-03-24 21:24:12 -0700 | [diff] [blame] | 82 | <ScrollView android:id="@android:id/empty" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 83 | android:layout_width="match_parent" |
| 84 | android:layout_height="match_parent" |
Amith Yamasani | 8bbe2f2 | 2009-03-24 21:24:12 -0700 | [diff] [blame] | 85 | android:fillViewport="true"> |
| 86 | |
| 87 | <TextView android:id="@+id/emptyText" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 88 | android:layout_width="match_parent" |
Amith Yamasani | 8bbe2f2 | 2009-03-24 21:24:12 -0700 | [diff] [blame] | 89 | android:layout_height="wrap_content" |
| 90 | android:text="@string/unknown" |
| 91 | android:textSize="20sp" |
| 92 | android:textColor="?android:attr/textColorSecondary" |
| 93 | android:paddingLeft="10dip" |
| 94 | android:paddingRight="10dip" |
| 95 | android:paddingTop="10dip" |
| 96 | android:gravity="center" |
| 97 | android:lineSpacingMultiplier="0.92"/> |
| 98 | |
| 99 | </ScrollView> |
| 100 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 101 | <View |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame^] | 102 | android:layout_width="match_parent" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 103 | android:layout_height="wrap_content" |
| 104 | android:background="@drawable/title_bar_shadow" |
| 105 | /> |
| 106 | |
| 107 | </FrameLayout> |
| 108 | </LinearLayout> |