1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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
18<LinearLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical"
23    android:background="@null">
24    <LinearLayout
25        android:id="@+id/date_group"
26        android:orientation="horizontal"
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content"
29        android:layout_alignParentTop="true"
30        android:paddingLeft="20dip"
31        android:background="@color/calendar_future_bg_color" >
32        <TextView
33            android:id="@+id/date_bar"
34            android:layout_width="wrap_content"
35            android:layout_height="42dip"
36            android:gravity="center_vertical"
37            android:textSize="24sp"/>
38        <TextView
39            android:id="@+id/week_num"
40            android:layout_width="wrap_content"
41            android:layout_height="42dip"
42            android:gravity="center_vertical"
43            android:paddingLeft="8dip"
44            android:textSize="18sp"
45            android:visibility="gone" />
46        <TextView
47            android:id="@+id/home_time"
48            android:layout_width="wrap_content"
49            android:layout_height="42dip"
50            android:layout_gravity="center_vertical|right"
51            android:gravity="center_vertical|right"
52            android:layout_weight="1"
53            android:paddingLeft="8dip"
54            android:paddingRight="8dip"
55            android:textSize="18sp"
56            android:visibility="gone" />
57    </LinearLayout>
58
59    <LinearLayout
60        android:orientation="vertical"
61        android:layout_weight="1"
62        android:layout_width="match_parent"
63        android:layout_height="0dip">
64        <FrameLayout
65            android:id="@+id/main_pane"
66            android:layout_weight="2"
67            android:layout_height="0dip"
68            android:layout_width="match_parent" />
69
70        <FrameLayout
71            android:id="@+id/secondary_pane"
72            android:visibility="gone"
73            android:layout_weight="1"
74            android:layout_height="0dip"
75            android:layout_width="match_parent" />
76    </LinearLayout>
77
78    <View
79        android:background="@color/calendar_grid_line_inner_vertical_color"
80        android:layout_height="1px"
81        android:layout_width="match_parent" />
82
83    <RelativeLayout
84        android:id="@+id/mini_month_container"
85        android:visibility="gone"
86        android:layout_height="@dimen/calendar_controls_height"
87        android:layout_width="match_parent" >
88        <!-- The width of mini_month is set programmatically in AllInOne -->
89        <FrameLayout
90            android:id="@+id/mini_month"
91            android:layout_height="@dimen/calendar_controls_height"
92            android:layout_width="wrap_content" />
93        <FrameLayout
94            android:id="@+id/calendar_list"
95            android:layout_alignParentRight="true"
96            android:layout_toRightOf="@id/mini_month"
97            android:layout_marginTop="16dip"
98            android:layout_height="@dimen/calendar_controls_height"
99            android:layout_weight="1"
100            android:layout_width="0dip" />
101    </RelativeLayout>
102</LinearLayout>
103