1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="fill_parent"
4 android:layout_height="fill_parent"
5 android:background="@drawable/morphossbg"
6 android:orientation="vertical" >
8 android:layout_width="fill_parent"
9 android:layout_height="fill_parent"
10 android:layout_weight="1" >
11 <com.morphoss.acal.views.CustomYearDrawable
12 android:id="@+id/year_view_custom"
13 android:layout_width="fill_parent"
14 android:layout_height="fill_parent" />
17 android:id="@+id/button_layout"
18 android:layout_width="fill_parent"
19 android:layout_height="36sp"
20 android:background="@color/bottom_bg"
21 android:gravity="bottom" >
23 android:layout_width="fill_parent"
24 android:layout_height="fill_parent"
25 android:layout_weight="1"
26 android:gravity="center"
27 android:paddingLeft="1sp"
28 android:paddingRight="1sp" >
30 android:layout_width="fill_parent"
31 android:layout_height="wrap_content"
32 android:background="@color/themed_button_colour" >
34 android:id="@+id/year_today_button"
35 style="@style/themed_bottom_button"
36 android:layout_width="fill_parent"
37 android:layout_height="wrap_content"
38 android:gravity="center"
39 android:text="@string/Today" />
43 android:layout_width="fill_parent"
44 android:layout_height="fill_parent"
45 android:layout_weight="1"
46 android:gravity="center"
47 android:paddingLeft="1sp"
48 android:paddingRight="1sp" >
50 android:layout_width="fill_parent"
51 android:layout_height="wrap_content"
52 android:background="@color/themed_button_colour" >
54 android:id="@+id/year_month_button"
55 style="@style/themed_bottom_button"
56 android:layout_width="fill_parent"
57 android:layout_height="wrap_content"
58 android:gravity="center"
59 android:text="@string/Month" />
63 android:layout_width="fill_parent"
64 android:layout_height="fill_parent"
65 android:layout_weight="1"
66 android:gravity="center"
67 android:paddingLeft="1sp"
68 android:paddingRight="1sp" >
70 android:layout_width="fill_parent"
71 android:layout_height="36sp"
72 android:background="@color/themed_button_colour" >
74 android:id="@+id/year_add_button"
75 style="@style/themed_add_button"
76 android:layout_width="fill_parent"
77 android:layout_height="36sp"
78 android:gravity="bottom|center_horizontal"
79 android:text="@string/plus" />