all_in_one.xml revision 14e82b453a95456277fa5c40189c9b253a8e487f
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<RelativeLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:background="@null">
22
23    <LinearLayout
24        android:orientation="vertical"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent">
27        <TextView
28            android:id="@+id/home_time"
29            android:layout_width="match_parent"
30            android:layout_height="16dip"
31            android:gravity="center_vertical|right"
32            android:paddingRight="8dip"
33            android:textSize="12sp"
34            android:background="@color/calendar_date_banner_background"
35            android:visibility="gone" />
36        <FrameLayout
37            android:id="@+id/main_pane"
38            android:layout_weight="2"
39            android:layout_height="0dip"
40            android:layout_width="match_parent" />
41
42        <FrameLayout
43            android:id="@+id/secondary_pane"
44            android:visibility="gone"
45            android:layout_weight="1"
46            android:layout_height="0dip"
47            android:layout_width="match_parent" />
48    </LinearLayout>
49
50    <!-- The views after this are retained to prevent crashes.
51        TODO: Remove if the app can handle them not being there. -->
52    <View android:id="@+id/mini_month_container"
53        android:layout_width="0dip"
54        android:layout_height="0dip"
55        android:visibility="gone"/>
56
57    <FrameLayout
58        android:id="@+id/mini_month"
59        android:layout_width="0dip"
60        android:layout_height="0dip"
61        android:visibility="gone"/>
62
63    <FrameLayout
64        android:id="@+id/calendar_list"
65        android:layout_width="0dip"
66        android:layout_height="0dip"
67        android:visibility="gone"/>
68</RelativeLayout>