• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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:orientation="vertical"
23    android:minHeight="?android:attr/listPreferredItemHeight">
24
25    <View
26        android:layout_height="1px"
27        android:background="@color/agenda_list_separator_color"
28        android:layout_width="match_parent" />
29
30    <LinearLayout
31    android:layout_height="wrap_content"
32    android:layout_width="match_parent"
33    android:orientation="horizontal"
34    android:minHeight="64dip">
35        <com.android.calendar.ColorChipView
36            android:id="@+id/agenda_item_color"
37            android:layout_width="24dip"
38            android:layout_height="24dip"
39            android:layout_alignParentLeft="true"
40            android:layout_marginTop="8dip"
41            android:layout_marginLeft="16dip"
42            android:layout_marginRight="8dip" />
43
44        <LinearLayout
45            android:layout_width="wrap_content"
46            android:layout_height="wrap_content"
47            android:layout_gravity="center_vertical"
48            android:layout_marginRight="16dip"
49            android:orientation="vertical">
50            <TextView
51                android:id="@+id/title"
52                android:layout_width="wrap_content"
53                android:layout_height="wrap_content"
54                android:singleLine="true"
55                android:textSize="18sp"
56                android:textStyle="bold"
57                android:ellipsize="marquee"
58                android:textColor="@color/agenda_item_standard_color"
59                style="?android:attr/textAppearanceMediumInverse" />
60
61            <TextView
62                android:id="@+id/when"
63                android:layout_width="wrap_content"
64                android:layout_height="wrap_content"
65                android:layout_below="@+id/title"
66                android:layout_alignLeft="@+id/title"
67                android:singleLine="true"
68                android:textSize="14sp"
69                android:ellipsize="marquee"
70                android:textColor="@color/agenda_item_where_text_color"
71                style="?android:attr/textAppearanceSmallInverse" />
72
73            <TextView
74                android:id="@+id/where"
75                android:layout_width="wrap_content"
76                android:layout_height="wrap_content"
77                android:layout_below="@+id/when"
78                android:layout_alignLeft="@+id/title"
79                android:layout_marginTop="-3dip"
80                android:singleLine="true"
81                android:ellipsize="marquee"
82                android:textSize="14sp"
83                android:textColor="@color/agenda_item_where_text_color"
84                style="?android:attr/textAppearanceSmallInverse" />
85        </LinearLayout>
86    </LinearLayout>
87    <ImageView
88        android:id="@+id/selected_marker"
89        android:layout_width="wrap_content"
90        android:layout_height="match_parent"
91        android:layout_alignParentRight="true"
92        android:layout_centerVertical="true"
93        android:visibility="gone"
94        android:background="@drawable/list_multi_left_activated_holo" />
95
96</LinearLayout>
97