| <?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="match_parent" |
| android:layout_height="match_parent" > |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="?android:attr/windowTitleSize" |
| style="?android:attr/windowTitleBackgroundStyle"> |
| |
| <TextView android:id="@+id/title" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:gravity="center" |
| style="?android:attr/windowTitleStyle" |
| android:background="@null" |
| android:fadingEdge="horizontal" |
| /> |
| |
| <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> |
| |
| <LinearLayout android:id="@+id/day_names" |
| android:orientation="horizontal" |
| android:background="@color/daynames_background" |
| android:layout_width="match_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> |
| |
| <FrameLayout |
| android:layout_width="match_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="match_parent" |
| android:layout_height="match_parent" /> |
| </FrameLayout> |
| </LinearLayout> |