blob: 172b211e38f6518715bdf2e1bad0e7b63050ae8f [file] [log] [blame]
Mason Tangbb3f08a2010-06-22 17:03:54 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
Mason Tangbb3f08a2010-06-22 17:03:54 -070019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Michael Chancb2d6742011-09-07 14:13:10 -070021 android:paddingBottom="6dip"
Mason Tangbb3f08a2010-06-22 17:03:54 -070022 android:orientation="vertical"
Mason Tangbb3f08a2010-06-22 17:03:54 -070023 android:focusable="true"
RoboErik3e046952011-09-13 09:34:50 -070024 android:clickable="true">
Mason Tangbb3f08a2010-06-22 17:03:54 -070025
26 <!-- Header -->
Michael Chan309c34f2010-12-13 15:26:43 -080027 <LinearLayout
Mason Tangbb3f08a2010-06-22 17:03:54 -070028 android:id="@+id/header"
29 android:layout_width="match_parent"
Peter Ng95d6fe02011-09-06 14:49:56 -070030 android:layout_height="48dip"
RoboErik6416be82011-07-22 10:30:19 -070031 android:paddingLeft="8dip"
RoboErik5eb00ea2011-07-19 09:47:31 -070032 android:paddingRight="2dip"
Peter Ng95d6fe02011-09-06 14:49:56 -070033 android:orientation="vertical"
Michael Chan629085a2010-12-16 18:01:43 -080034 android:background="@drawable/appwidget_header_selector">
RoboErikea3c8182011-07-15 14:42:53 -070035 <TextView
Peter Ng95d6fe02011-09-06 14:49:56 -070036 android:id="@+id/day_of_week"
37 android:textColor="@color/appwidget_week"
38 android:shadowColor="#0dffffff"
39 android:shadowRadius="3"
40 android:layout_marginRight="4dip"
41 style="@style/WidgetDayOfWeekStyle" />
42 <TextView
43 android:id="@+id/date"
44 android:textColor="@color/appwidget_month"
45 android:layout_marginRight="4dip"
46 style="@style/WidgetMonthStyle" />
Michael Chan309c34f2010-12-13 15:26:43 -080047 </LinearLayout>
48
Michael Chanaaa8ec72010-12-15 10:58:04 -080049 <!-- Event list -->
Mason Tang47d40322010-08-09 10:57:05 -070050 <ListView
51 android:id="@+id/events_list"
Mason Tangbb3f08a2010-06-22 17:03:54 -070052 android:layout_width="match_parent"
Michael Chanaaa8ec72010-12-15 10:58:04 -080053 android:layout_height="0dip"
54 android:layout_weight="1"
Peter Ng95d6fe02011-09-06 14:49:56 -070055 android:layout_marginRight="6dip"
56 android:layout_marginLeft="6dip"
RoboErik5eb00ea2011-07-19 09:47:31 -070057 android:divider="@null"
RoboErik3e046952011-09-13 09:34:50 -070058 android:listSelector="@android:color/transparent"
Peter Ng95d6fe02011-09-06 14:49:56 -070059 android:dividerHeight="3dip"
RoboErik3e046952011-09-13 09:34:50 -070060 android:cacheColorHint="@null"
61 android:background="@drawable/cal_widget_bg"/>
Michael Chanaaa8ec72010-12-15 10:58:04 -080062</LinearLayout>