Automated import from //branches/donutburger/...@140648,140648
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index aa4418b..c153eae 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -46,11 +46,11 @@
</activity>
<activity android:name="MonthActivity" android:label="@string/month_view"
- android:theme="@android:style/Theme.Light.NoTitleBar" />
+ android:theme="@style/CalendarTheme" />
<activity android:name="WeekActivity" android:label="@string/week_view"
- android:theme="@android:style/Theme.Light.NoTitleBar" />
+ android:theme="@style/CalendarTheme" />
<activity android:name="DayActivity" android:label="@string/day_view"
- android:theme="@android:style/Theme.Light.NoTitleBar" />
+ android:theme="@style/CalendarTheme" />
<activity android:name="AgendaActivity" android:label="@string/agenda_view"
android:theme="@android:style/Theme.Light"
android:exported="true" />
diff --git a/res/layout/day_activity.xml b/res/layout/day_activity.xml
index 93b3ce1..2a73a3c 100644
--- a/res/layout/day_activity.xml
+++ b/res/layout/day_activity.xml
@@ -47,7 +47,14 @@
android:layout_height="wrap_content" />
</RelativeLayout>
- <ViewSwitcher android:id="@+id/switcher"
+ <FrameLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:foregroundGravity="fill_horizontal|top"
+ android:foreground="@*android:drawable/title_bar_shadow">
+ <ViewSwitcher android:id="@+id/switcher"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ </FrameLayout>
</LinearLayout>
diff --git a/res/layout/month_activity.xml b/res/layout/month_activity.xml
index fe9c651..8dc1fb0 100644
--- a/res/layout/month_activity.xml
+++ b/res/layout/month_activity.xml
@@ -75,7 +75,14 @@
android:layout_height="1dip"
android:background="@android:drawable/divider_horizontal_dark" />
- <ViewSwitcher android:id="@+id/switcher"
+ <FrameLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:foregroundGravity="fill_horizontal|top"
+ android:foreground="@*android:drawable/title_bar_shadow">
+ <ViewSwitcher android:id="@+id/switcher"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ </FrameLayout>
</LinearLayout>
diff --git a/res/layout/week_activity.xml b/res/layout/week_activity.xml
index 93b3ce1..2a73a3c 100644
--- a/res/layout/week_activity.xml
+++ b/res/layout/week_activity.xml
@@ -47,7 +47,14 @@
android:layout_height="wrap_content" />
</RelativeLayout>
- <ViewSwitcher android:id="@+id/switcher"
+ <FrameLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:foregroundGravity="fill_horizontal|top"
+ android:foreground="@*android:drawable/title_bar_shadow">
+ <ViewSwitcher android:id="@+id/switcher"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ </FrameLayout>
</LinearLayout>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index bcc04c2..57a8d0c 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -68,4 +68,8 @@
<item name="android:textColor">@android:color/white</item>
</style>
+ <style name="CalendarTheme" parent="android:Theme.Light.NoTitleBar">
+ <item name="android:windowContentOverlay">@null</item>
+ </style>
+
</resources>