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<GridLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@android:id/content"
20    android:layout_height="wrap_content"
21    android:layout_width="match_parent"
22    android:minHeight="64dip"
23    android:columnCount="3"
24    android:rowCount="2">
25    <View
26        android:layout_height="1px"
27        android:background="@color/agenda_list_separator_color"
28        android:layout_column="0"
29        android:layout_row="0"
30        android:layout_rowSpan="1"
31        android:layout_columnSpan="3"
32        android:layout_width="match_parent" />
33    <com.android.calendar.ColorChipView
34        android:id="@+id/agenda_item_color"
35        android:layout_column="0"
36        android:layout_row="1"
37        android:layout_rowSpan="1"
38        android:layout_width="24dip"
39        android:layout_height="24dip"
40        android:layout_gravity="top|left"
41        android:layout_marginTop="8dip"
42        android:layout_marginBottom="8dip"
43        android:layout_marginLeft="16dip"
44        android:layout_marginRight="8dip" />
45
46    <LinearLayout
47        android:id="@+id/agenda_item_text_container"
48        android:layout_width="0dip"
49        android:layout_height="wrap_content"
50        android:layout_gravity="center_vertical|fill_horizontal"
51        android:layout_marginRight="@dimen/agenda_item_right_margin"
52        android:layout_column="1"
53        android:layout_row="1"
54        android:layout_rowSpan="1"
55        android:orientation="vertical">
56
57        <TextView
58            android:id="@+id/title"
59            android:layout_width="wrap_content"
60            android:layout_height="wrap_content"
61            android:singleLine="true"
62            android:textSize="18sp"
63            android:textStyle="bold"
64            android:ellipsize="marquee"
65            android:textColor="@color/agenda_item_standard_color"
66            style="?android:attr/textAppearanceMediumInverse" />
67
68        <TextView
69            android:id="@+id/when"
70            android:layout_width="wrap_content"
71            android:layout_height="wrap_content"
72            android:singleLine="true"
73            android:textSize="14sp"
74            android:ellipsize="marquee"
75            android:textColor="@color/agenda_item_where_text_color"
76            style="?android:attr/textAppearanceSmallInverse" />
77
78        <TextView
79            android:id="@+id/where"
80            android:layout_width="wrap_content"
81            android:layout_height="wrap_content"
82            android:layout_marginTop="-3dip"
83            android:singleLine="true"
84            android:ellipsize="marquee"
85            android:textSize="14sp"
86            android:textColor="@color/agenda_item_where_text_color"
87            style="?android:attr/textAppearanceSmallInverse" />
88    </LinearLayout>
89    <ImageView
90        android:id="@+id/selected_marker"
91        android:layout_column="2"
92        android:layout_row="1"
93        android:layout_rowSpan="1"
94        android:layout_width="wrap_content"
95        android:layout_height="match_parent"
96        android:layout_gravity="center_vertical"
97        android:visibility="gone"
98        android:contentDescription="@string/acessibility_selected_marker_description"
99        android:background="@drawable/list_multi_left_activated_holo" />
100</GridLayout>
101