OSDN Git Service

Add notouch resources for avoid crash on x86
[android-x86/packages-apps-Contacts.git] / res / layout-notouch / call_detail.xml
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"
18     android:layout_width="fill_parent"
19     android:layout_height="fill_parent"
20     android:orientation="vertical"
21 >
22
23     <LinearLayout
24         android:layout_width="fill_parent"
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"
73         android:layout_width="fill_parent"
74         android:layout_weight="1"
75     >
76         <ListView android:id="@android:id/list"
77             android:layout_width="fill_parent"
78             android:layout_height="fill_parent"
79             android:scrollbarStyle="outsideOverlay"
80         />
81
82         <ScrollView android:id="@android:id/empty"
83                 android:layout_width="fill_parent"
84                 android:layout_height="fill_parent"
85                 android:fillViewport="true">
86
87             <TextView android:id="@+id/emptyText"
88                 android:layout_width="fill_parent"
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
101         <View
102             android:layout_width="fill_parent"
103             android:layout_height="wrap_content"
104             android:background="@drawable/title_bar_shadow"
105         />
106
107     </FrameLayout>
108 </LinearLayout>