diff options
author | Michael Chan <mchan@android.com> | 2010-06-30 11:04:03 -0700 |
---|---|---|
committer | Michael Chan <mchan@android.com> | 2010-06-30 11:04:03 -0700 |
commit | 4970159b2e6674fc5d61425aa0fcff8e5fc15bdb (patch) | |
tree | 7077acc4ae86093d809a9363ccc354a81007e671 /res/layout-land | |
parent | 44892e0777af26378b6c7b80ed0cb5342a168a08 (diff) | |
download | android_packages_apps_Calendar-4970159b2e6674fc5d61425aa0fcff8e5fc15bdb.tar.gz android_packages_apps_Calendar-4970159b2e6674fc5d61425aa0fcff8e5fc15bdb.tar.bz2 android_packages_apps_Calendar-4970159b2e6674fc5d61425aa0fcff8e5fc15bdb.zip |
First draft of Fragment implementation. Will need a lot of cleanup
Change-Id: I67b25c3081ab6b3a0696bcaffab2ed2761e37f5e
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/all_in_one.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/res/layout-land/all_in_one.xml b/res/layout-land/all_in_one.xml new file mode 100644 index 00000000..60b153d0 --- /dev/null +++ b/res/layout-land/all_in_one.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <fragment + android:name="com.android.calendar.MonthFragment" + android:id="@+id/mini_month" + + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + + android:layout_height="300dip" + android:layout_width="300dip" /> + + <fragment + android:name="com.android.calendar.MonthFragment" + android:id="@+id/calendar_list" + + android:layout_below="@id/mini_month" + android:layout_alignRight="@id/mini_month" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + + android:layout_height="match_parent" + android:layout_width="match_parent" /> + + <fragment + android:name="com.android.calendar.MonthFragment" + android:id="@+id/month" + + android:layout_toRightOf="@id/mini_month" + android:layout_alignParentRight="true" + + android:layout_height="match_parent" + android:layout_width="match_parent" /> +</RelativeLayout> |