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="80dip"> 24 <View 25 android:layout_height="1px" 26 android:background="@color/agenda_list_separator_color" 27 android:layout_width="match_parent" /> 28 <LinearLayout 29 android:layout_height="match_parent" 30 android:layout_width="match_parent" 31 android:orientation="horizontal" 32 android:minHeight="?android:attr/listPreferredItemHeight"> 33 34 <com.android.calendar.ColorChipView 35 android:id="@+id/agenda_item_color" 36 android:layout_width="32dip" 37 android:layout_height="32dip" 38 android:layout_alignParentLeft="true" 39 android:layout_marginTop="8dip" 40 android:layout_marginLeft="16dip" 41 android:layout_marginRight="8dip" /> 42 43 <LinearLayout 44 android:layout_width="0dip" 45 android:layout_height="wrap_content" 46 android:layout_gravity="center_vertical" 47 android:layout_marginRight="16dip" 48 android:layout_weight="1" 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 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 </LinearLayout> 96 </LinearLayout> 97