Code drop from //branches/cupcake/...@124589
[android/platform/packages/apps/Calendar.git] / res / layout / alert_toast.xml
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
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:orientation="vertical"
19     android:layout_width="wrap_content"
20     android:layout_height="wrap_content"
21     android:background="@android:drawable/toast_frame">
22     
23     <LinearLayout
24         android:orientation="horizontal"
25         android:layout_width="fill_parent"
26         android:layout_height="wrap_content"
27         android:padding="10dip">
28         
29         <ImageView android:id="@+id/repeat_icon"
30             android:layout_width="wrap_content"
31             android:layout_height="wrap_content"
32             android:layout_marginRight="10dip"
33             android:src="@android:drawable/ic_popup_reminder"
34         />
35         
36         <TextView android:id="@+id/event_title"
37             android:layout_width="fill_parent"
38             android:layout_height="wrap_content"
39             android:layout_gravity="center"
40             style="@style/TextAppearance.Alert_Title" />
41     </LinearLayout>
42     
43     <ImageView
44         android:layout_width="fill_parent"
45         android:layout_height="wrap_content"
46         android:background="@android:drawable/divider_horizontal_dark" />
47     
48     <LinearLayout
49         android:orientation="vertical"
50         android:layout_width="fill_parent"
51         android:layout_height="wrap_content"
52         android:padding="10dip">
53         
54         <LinearLayout
55             android:orientation="horizontal"
56             android:layout_width="fill_parent"
57             android:layout_height="wrap_content">
58             
59             <TextView android:id="@+id/when_label"
60                 android:layout_width="wrap_content"
61                 android:layout_height="wrap_content"
62                 android:paddingRight="4dip"
63                 android:text="@string/alert_when_label"
64                 style="@style/TextAppearance.Alert_Label" />
65             
66             <TextView android:id="@+id/when"
67                 android:layout_width="fill_parent"
68                 android:layout_height="wrap_content"
69                 style="@style/TextAppearance.Alert_Value" />
70         </LinearLayout>
71         
72         <LinearLayout
73             android:orientation="horizontal"
74             android:layout_width="fill_parent"
75             android:layout_height="wrap_content">
76             
77             <TextView android:id="@+id/where_label"
78                 android:layout_width="wrap_content"
79                 android:layout_height="wrap_content"
80                 android:paddingRight="4dip"
81                 android:text="@string/alert_where_label"
82                 style="@style/TextAppearance.Alert_Label" />
83     
84             <TextView android:id="@+id/where"
85                 android:layout_width="fill_parent"
86                 android:layout_height="wrap_content"
87                 style="@style/TextAppearance.Alert_Value" />
88         </LinearLayout>
89     </LinearLayout>
90 </LinearLayout>