blob: 3b230b5fa613a672c7acdb9212ba7a90cb00a78f [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?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 Guy6304c0b2010-01-08 15:06:49 -080018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080020 android:orientation="vertical"
21>
22
23 <LinearLayout
Romain Guy6304c0b2010-01-08 15:06:49 -080024 android:layout_width="match_parent"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080025 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 Guy6304c0b2010-01-08 15:06:49 -080073 android:layout_width="match_parent"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080074 android:layout_weight="1"
75 >
76 <ListView android:id="@android:id/list"
Romain Guy6304c0b2010-01-08 15:06:49 -080077 android:layout_width="match_parent"
78 android:layout_height="match_parent"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080079 android:scrollbarStyle="outsideOverlay"
80 />
81
Amith Yamasani8bbe2f22009-03-24 21:24:12 -070082 <ScrollView android:id="@android:id/empty"
Romain Guy6304c0b2010-01-08 15:06:49 -080083 android:layout_width="match_parent"
84 android:layout_height="match_parent"
Amith Yamasani8bbe2f22009-03-24 21:24:12 -070085 android:fillViewport="true">
86
87 <TextView android:id="@+id/emptyText"
Romain Guy6304c0b2010-01-08 15:06:49 -080088 android:layout_width="match_parent"
Amith Yamasani8bbe2f22009-03-24 21:24:12 -070089 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 Project7aa0e4c2009-03-03 19:32:21 -0800101 <View
Romain Guy6304c0b2010-01-08 15:06:49 -0800102 android:layout_width="match_parent"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800103 android:layout_height="wrap_content"
104 android:background="@drawable/title_bar_shadow"
105 />
106
107 </FrameLayout>
108</LinearLayout>