| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2007 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <GridLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@android:id/content" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:minHeight="80dip" |
| android:columnCount="3" |
| android:rowCount="2"> |
| <View |
| android:layout_height="1px" |
| android:background="@color/agenda_list_separator_color" |
| android:layout_column="0" |
| android:layout_row="0" |
| android:layout_rowSpan="1" |
| android:layout_columnSpan="3" |
| android:layout_width="match_parent" /> |
| <com.android.calendar.ColorChipView |
| android:id="@+id/agenda_item_color" |
| android:layout_column="0" |
| android:layout_row="1" |
| android:layout_rowSpan="1" |
| android:layout_width="32dip" |
| android:layout_height="32dip" |
| android:layout_gravity="top|left" |
| android:layout_marginTop="12dip" |
| android:layout_marginBottom="8dip" |
| android:layout_marginLeft="16dip" |
| android:layout_marginRight="8dip" /> |
| |
| <LinearLayout |
| android:id="@+id/agenda_item_text_container" |
| android:layout_width="0dip" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical|fill_horizontal" |
| android:layout_marginRight="@dimen/agenda_item_right_margin" |
| android:layout_column="1" |
| android:layout_row="1" |
| android:layout_rowSpan="1" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:singleLine="true" |
| android:textSize="18sp" |
| android:textStyle="bold" |
| android:ellipsize="marquee" |
| android:textColor="@color/agenda_item_standard_color" |
| style="?android:attr/textAppearanceMediumInverse" /> |
| |
| <TextView |
| android:id="@+id/when" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:singleLine="true" |
| android:textSize="14sp" |
| android:ellipsize="marquee" |
| android:textColor="@color/agenda_item_where_text_color" |
| style="?android:attr/textAppearanceSmallInverse" /> |
| |
| <TextView |
| android:id="@+id/where" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="-3dip" |
| android:singleLine="true" |
| android:ellipsize="marquee" |
| android:textSize="14sp" |
| android:textColor="@color/agenda_item_where_text_color" |
| style="?android:attr/textAppearanceSmallInverse" /> |
| </LinearLayout> |
| <ImageView |
| android:id="@+id/selected_marker" |
| android:layout_column="2" |
| android:layout_row="1" |
| android:layout_rowSpan="1" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_gravity="center_vertical" |
| android:visibility="gone" |
| android:contentDescription="@string/acessibility_selected_marker_description" |
| android:background="@drawable/list_multi_left_activated_holo" /> |
| </GridLayout> |