diff options
Diffstat (limited to 'res/layout/month_activity.xml')
-rw-r--r-- | res/layout/month_activity.xml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/res/layout/month_activity.xml b/res/layout/month_activity.xml new file mode 100644 index 00000000..3f287cad --- /dev/null +++ b/res/layout/month_activity.xml @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2006 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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/month_container" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" > + + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="?android:attr/windowTitleSize" + style="?android:attr/windowTitleBackgroundStyle"> + + <TextView android:id="@+id/title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + style="?android:attr/windowTitleStyle" + android:background="@null" + android:fadingEdge="horizontal" + android:layout_alignParentLeft="true" + android:layout_alignParentRight="true" + android:layout_alignParentTop="true" + /> + + <ProgressBar android:id="@+id/progress_circular" + style="?android:attr/progressBarStyleSmall" + android:visibility="gone" + android:max="10000" + android:layout_centerVertical="true" + android:layout_alignParentRight="true" + android:layout_marginLeft="6dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + </RelativeLayout> + + <View + android:layout_width="fill_parent" + android:layout_height="1dip" + android:background="@android:drawable/divider_horizontal_dark" /> + + <LinearLayout android:id="@+id/day_names" + android:orientation="horizontal" + android:background="@drawable/daynames_background" + android:layout_width="fill_parent" + android:layout_height="23dip" > + + <TextView android:id="@+id/day0" + style="@style/MonthView_DayLabel" /> + <TextView android:id="@+id/day1" + style="@style/MonthView_DayLabel" /> + <TextView android:id="@+id/day2" + style="@style/MonthView_DayLabel" /> + <TextView android:id="@+id/day3" + style="@style/MonthView_DayLabel" /> + <TextView android:id="@+id/day4" + style="@style/MonthView_DayLabel" /> + <TextView android:id="@+id/day5" + style="@style/MonthView_DayLabel" /> + <TextView android:id="@+id/day6" + style="@style/MonthView_DayLabel" /> + </LinearLayout> + + <View + android:layout_width="fill_parent" + android:layout_height="1dip" + android:background="@android:drawable/divider_horizontal_dark" /> + + <ViewSwitcher android:id="@+id/switcher" + android:layout_width="fill_parent" + android:layout_height="fill_parent" /> +</LinearLayout> |