| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2008 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:background="@color/agenda_day_bar_background_color" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:columnCount="2" |
| android:rowCount="2"> |
| <View |
| android:id="@+id/top_divider_simple" |
| 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="2" |
| android:layout_width="match_parent" /> |
| <View |
| android:id="@+id/top_divider_past_present" |
| android:background="@color/agenda_past_present_separator_color" |
| android:visibility="gone" |
| android:layout_height="2dip" |
| android:layout_column="0" |
| android:layout_row="0" |
| android:layout_rowSpan="1" |
| android:layout_columnSpan="2" |
| android:layout_width="match_parent" /> |
| <TextView |
| android:id="@+id/date" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:layout_column="0" |
| android:layout_row="1" |
| android:layout_gravity="center_vertical|left" |
| android:paddingLeft="16dip" |
| android:layout_marginTop="2dip" |
| android:textSize="24sp" |
| android:singleLine="true" |
| android:minHeight="42dip" |
| android:textColor="@color/agenda_day_item_text_color" /> |
| <TextView |
| android:id="@+id/day" |
| android:layout_height="wrap_content" |
| android:layout_width="0dip" |
| android:gravity="center_vertical" |
| android:layout_gravity="center_vertical|fill_horizontal" |
| android:layout_column="1" |
| android:layout_row="1" |
| android:layout_marginTop="2dip" |
| android:layout_marginLeft="8dip" |
| android:layout_marginRight="@dimen/agenda_item_right_margin" |
| android:ellipsize="marquee" |
| android:textSize="14sp" |
| android:singleLine="true" |
| android:minHeight="42dip" |
| android:textColor="@color/agenda_day_item_text_color" /> |
| </GridLayout> |