blob: 799740635cb61fb9ff6e67c5262744cc9fc7191d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="?background_color"
android:orientation="vertical" >
<LinearLayout style="@style/action_bar" >
<ImageView
style="@style/action_bar_action"
android:onClick="goHome" />
<View style="@style/action_bar_separator" />
<TextView style="@style/action_bar_title" />
<View style="@style/action_bar_separator" />
<ProgressBar
style="@style/action_bar_progress"
android:visibility="gone" />
<ImageView
style="@style/action_bar_action"
android:onClick="goManual"
android:src="@drawable/actionbar_manual" />
</LinearLayout>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="4dip" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RelativeLayout style="@style/separator_horizontal_layout" >
<View style="@style/separator_horizontal" />
<TextView
style="@style/separator_horizontal_headline"
android:text="@string/log_image" />
</RelativeLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dip"
android:orientation="horizontal" >
<Button
android:id="@+id/stored"
style="@style/button_full"
android:layout_width="0dip"
android:layout_weight="1"
android:text="@string/log_image_stored" />
<Button
android:id="@+id/camera"
style="@style/button_full"
android:layout_width="0dip"
android:layout_weight="1"
android:text="@string/log_image_camera" />
</LinearLayout>
<ImageView
android:id="@+id/image_preview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dip"
android:layout_marginTop="5dip"
android:background="#000000"
android:padding="1dp"
android:visibility="gone" />
<EditText
android:id="@+id/caption"
style="@style/edittext_full"
android:layout_height="wrap_content"
android:hint="@string/log_image_caption"
android:inputType="textCapSentences"
android:maxLength="50"
android:minLines="1"
android:singleLine="false" />
<EditText
android:id="@+id/description"
style="@style/edittext_full"
android:layout_height="wrap_content"
android:hint="@string/log_image_description"
android:inputType="textMultiLine|textCapSentences"
android:maxLength="250"
android:minLines="5"
android:singleLine="false" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/save"
style="@style/button_full"
android:layout_width="0dip"
android:layout_weight="1"
android:text="@android:string/yes" />
<Button
android:id="@+id/cancel"
style="@style/button_full"
android:layout_width="0dip"
android:layout_weight="1"
android:text="@android:string/no" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
|