all_in_one.xml revision ef896fda8812d5f31aa87e8e1525d6f9d8b61e9c
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    <TextView
24        android:id="@+id/home_time"
25        android:layout_alignParentTop="true"
26        android:layout_alignParentRight="true"
27        android:layout_height="wrap_content"
28        android:layout_width="244dip"
29        android:layout_marginRight="36dip"
30        android:layout_marginLeft="20dip"
31        android:layout_marginTop="23dip"
32        android:gravity="right|bottom"
33        style="@style/TextAppearance.Date_Range_Title"
34        android:visibility="gone" />
35
36    <!-- This is a dummy view to make hiding/unhiding easier -->
37    <View android:id="@+id/mini_month_container"
38        android:layout_width="0dip"
39        android:layout_height="0dip"/>
40
41    <FrameLayout
42        android:id="@+id/mini_month"
43
44        android:layout_alignParentTop="true"
45        android:layout_alignParentRight="true"
46        android:layout_marginRight="25dip"
47        android:layout_marginLeft="20dip"
48        android:layout_marginTop="45dip"
49        android:layout_marginBottom="0dip"
50        android:layout_height="263dip"
51        android:layout_width="249dip" />
52
53    <FrameLayout
54        android:id="@+id/calendar_list"
55        android:layout_below="@id/mini_month"
56        android:layout_alignParentRight="true"
57        android:layout_alignParentBottom="true"
58        android:layout_marginRight="25dip"
59        android:layout_marginBottom="20dip"
60        android:layout_height="match_parent"
61        android:layout_width="248dip" />
62
63    <FrameLayout
64        android:id="@+id/main_pane"
65
66        android:layout_toLeftOf="@id/mini_month"
67        android:layout_alignParentLeft="true"
68
69        android:layout_height="match_parent"
70        android:layout_width="match_parent" />
71</RelativeLayout>
72