1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* Copyright 2010, The Android Open Source Project 4** 5** Licensed under the Apache License, Version 2.0 (the "License") 6** you may not use this file except in compliance with the License. 7** You may obtain a copy of the License at 8** 9** http://www.apache.org/licenses/LICENSE-2.0 10** 11** Unless required by applicable law or agreed to in writing, software 12** distributed under the License is distributed on an "AS IS" BASIS, 13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14** See the License for the specific language governing permissions and 15** limitations under the License. 16*/ 17--> 18 19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 20 android:orientation="vertical" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" 23 android:fillViewport="true" > 24 25 <TextView android:id="@+android:id/month_name" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:layout_gravity="center_horizontal" 29 android:paddingTop="10dip" 30 android:paddingBottom="10dip" 31 style="@android:style/TextAppearance.Medium" /> 32 33 <LinearLayout android:id="@+android:id/day_names" 34 android:orientation="horizontal" 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:layout_marginBottom="6dip" 38 android:layout_marginEnd="2dip" 39 android:layout_marginStart="2dip" 40 android:gravity="center" > 41 42 <TextView android:layout_width="0dip" 43 android:layout_height="wrap_content" 44 android:layout_weight="1" 45 android:gravity="center" 46 android:visibility="gone" /> 47 48 <TextView android:layout_width="0dip" 49 android:layout_height="wrap_content" 50 android:layout_weight="1" 51 android:gravity="center" /> 52 53 <TextView android:layout_width="0dip" 54 android:layout_height="wrap_content" 55 android:layout_weight="1" 56 android:gravity="center" /> 57 58 <TextView android:layout_width="0dip" 59 android:layout_height="wrap_content" 60 android:layout_weight="1" 61 android:gravity="center" /> 62 63 <TextView android:layout_width="0dip" 64 android:layout_height="wrap_content" 65 android:layout_weight="1" 66 android:gravity="center" /> 67 68 <TextView android:layout_width="0dip" 69 android:layout_height="wrap_content" 70 android:layout_weight="1" 71 android:gravity="center" /> 72 73 <TextView android:layout_width="0dip" 74 android:layout_height="wrap_content" 75 android:layout_weight="1" 76 android:gravity="center" /> 77 78 <TextView android:layout_width="0dip" 79 android:layout_height="wrap_content" 80 android:layout_weight="1" 81 android:gravity="center" /> 82 83 </LinearLayout> 84 85 <ImageView android:layout_width="match_parent" 86 android:layout_height="1dip" 87 android:scaleType="fitXY" 88 android:gravity="fill_horizontal" 89 android:src="?android:attr/dividerHorizontal" /> 90 91 <ListView android:id="@android:id/list" 92 android:layout_width="match_parent" 93 android:layout_height="match_parent" 94 android:drawSelectorOnTop="false" 95 android:cacheColorHint="@android:color/transparent" 96 android:fastScrollEnabled="false" 97 android:overScrollMode="never" /> 98 99</LinearLayout> 100