New preference for Timezone Service URL.
[acal.git] / res / layout / journal_view.xml
blobc847defc4cebdce6ba7c5e87d89753dce20935bc
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3         android:id="@+id/JournalViewLayout"
4         android:layout_width="fill_parent"
5         android:layout_height="fill_parent"
6         android:background="@drawable/morphossbg"
7         android:orientation="vertical" >
8         <LinearLayout
9                 xmlns:android="http://schemas.android.com/apk/res/android"
10                 android:id="@+id/JournalViewBelowTitleLayout"
11                 android:layout_width="fill_parent"
12                 android:layout_height="fill_parent"
13                 android:layout_weight="1"
14                 android:orientation="horizontal" >
15                 <!-- Color bar -->
16                 <LinearLayout
17                         android:id="@+id/JournalViewColourBar"
18                         android:layout_width="13sp"
19                         android:layout_height="fill_parent"
20                         android:background="#704080f0" />
21                 <!-- Color bar stops -->
22                 <!-- content -->
23                 <LinearLayout
24                         android:id="@+id/JournalViewContentArea"
25                         android:layout_width="fill_parent"
26                         android:layout_height="fill_parent"
27                         android:layout_gravity="right"
28                         android:isScrollContainer="true"
29                         android:orientation="vertical" >
30                         <!-- journal name thingy -->
31                         <TextView
32                                 android:id="@+id/JournalName"
33                                 android:layout_width="fill_parent"
34                                 android:layout_height="wrap_content"
35                                 android:paddingBottom="10sp"
36                                 android:paddingLeft="10sp"
37                                 android:textSize="30sp" >
38                         </TextView>
39                         <!-- journal name thingy end -->
40                         <!-- journal date thingy -->
41                         <TextView
42                                 android:id="@+id/JournalTimeContent"
43                                 android:layout_width="fill_parent"
44                                 android:layout_height="wrap_content"
45                                 android:paddingBottom="10sp"
46                                 android:paddingLeft="10sp"
47                                 android:textSize="20sp" >
48                         </TextView>
49                         <!-- journal date thingy end -->
50                         <!-- scroll view of note thingy -->
51                         <ScrollView
52                                 android:layout_width="fill_parent"
53                                 android:layout_height="0dp"
54                                 android:layout_weight="1" >
55                                 <TextView
56                                         android:id="@+id/JournalNotesContent"
57                                         android:layout_width="fill_parent"
58                                         android:layout_height="wrap_content"
59                                         android:paddingLeft="10sp"
60                                         android:textSize="20sp" >
61                                 </TextView>
62                         </ScrollView>
63                         <!-- scroll view of note thingy end -->
64                         <!-- actual button -->
65                         <LinearLayout
66                                 android:layout_width="fill_parent"
67                                 android:layout_height="wrap_content"
68                                 android:gravity="center"
69                                 android:paddingLeft="1sp"
70                                 android:paddingRight="1sp" >
71                                 <LinearLayout
72                                         android:layout_width="fill_parent"
73                                         android:layout_height="wrap_content"
74                                         android:background="@color/themed_button_colour" >
75                                         <Button
76                                                 android:id="@+id/journal_edit_button"
77                                                 style="@style/themed_bottom_button"
78                                                 android:layout_width="fill_parent"
79                                                 android:layout_height="wrap_content"
80                                                 android:layout_gravity="center"
81                                                 android:text="@string/Edit"
82                                                 android:width="90sp" />
83                                 </LinearLayout>
84                         </LinearLayout>
85                         <!-- actual button stops -->
86                         <!-- content end -->
87                 </LinearLayout>
88         </LinearLayout>
89 </LinearLayout>