agenda_day.xml revision 80369fe0d18311277cd0ae6472bad7073b9879a3
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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    xmlns:calendar="http://schemas.android.com/apk/res/com.android.calendar"
20    android:background="@color/agenda_day_bar_background_color"
21    android:orientation="vertical"
22    android:layout_width="match_parent"
23    android:layout_height="wrap_content">
24    <View
25        android:id="@+id/top_divider_simple"
26        android:layout_height="1px"
27        android:background="@color/agenda_list_separator_color"
28        android:layout_width="match_parent" />
29    <View
30        android:id="@+id/top_divider_past_present"
31        android:background="@color/agenda_past_present_separator_color"
32        android:visibility="gone"
33        android:layout_height="2dip"
34        android:layout_width="match_parent" />
35    <LinearLayout
36        android:orientation="vertical"
37        android:layout_width="match_parent"
38        android:layout_height="48dip">
39        <TextView
40            android:id="@+id/day"
41            android:layout_height="wrap_content"
42            android:layout_width="match_parent"
43            android:layout_marginTop="4dip"
44            android:layout_marginBottom="-8dip"
45            android:layout_marginLeft="20dip"
46            android:textSize="12sp"
47            android:textColor="@color/agenda_day_item_text_color" />
48        <TextView
49            android:id="@+id/date"
50            android:layout_height="wrap_content"
51            android:layout_width="match_parent"
52            android:layout_marginLeft="20dip"
53            android:textSize="24sp"
54            android:textColor="@color/agenda_day_item_text_color" />
55    </LinearLayout>
56</LinearLayout>
57