summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2010-07-13 17:58:21 -0700
committerMichael Chan <mchan@android.com>2010-07-14 14:14:04 -0700
commit3458a1775920dda53099b7f1913cd4ec4c8b4095 (patch)
treee2943e6617089279081c2ae1061d544a673e319b /res/layout-land
parent9e89dca0902d13fe27fd2680cc15cbb470e40288 (diff)
downloadandroid_packages_apps_Calendar-3458a1775920dda53099b7f1913cd4ec4c8b4095.tar.gz
android_packages_apps_Calendar-3458a1775920dda53099b7f1913cd4ec4c8b4095.tar.bz2
android_packages_apps_Calendar-3458a1775920dda53099b7f1913cd4ec4c8b4095.zip
Modified ActionBar to send events to Controller
Modified the Controller to switch day/week/month fragment when it receives a goto event with a view specified. Switch to using FragmentTransactions for adding views to each pane Change-Id: Ifedfe860008882311f7d41447348fb1520aa5233
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/all_in_one.xml15
-rw-r--r--res/layout-land/appwidget_disabled.xml (renamed from res/layout-land/appwidget.xml)0
2 files changed, 6 insertions, 9 deletions
diff --git a/res/layout-land/all_in_one.xml b/res/layout-land/all_in_one.xml
index 225c64a5..1c0e3ef0 100644
--- a/res/layout-land/all_in_one.xml
+++ b/res/layout-land/all_in_one.xml
@@ -19,18 +19,16 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <fragment
- android:name="com.android.calendar.MonthFragment"
+ <FrameLayout
android:id="@+id/mini_month"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
- android:layout_height="250dip"
- android:layout_width="250dip" />
+ android:layout_height="425dip"
+ android:layout_width="350dip" />
- <fragment
- android:name="com.android.calendar.SelectCalendars.SelectCalendarsFragment"
+ <FrameLayout
android:id="@+id/calendar_list"
android:layout_below="@id/mini_month"
@@ -41,9 +39,8 @@
android:layout_height="match_parent"
android:layout_width="match_parent" />
- <fragment
- android:name="com.android.calendar.DayFragment"
- android:id="@+id/main_view"
+ <FrameLayout
+ android:id="@+id/main_pane"
android:layout_toRightOf="@id/mini_month"
android:layout_alignParentRight="true"
diff --git a/res/layout-land/appwidget.xml b/res/layout-land/appwidget_disabled.xml
index 418ae11c..418ae11c 100644
--- a/res/layout-land/appwidget.xml
+++ b/res/layout-land/appwidget_disabled.xml