Initial commit
[mustard2:mustard2.git] / res / layout / compose.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <ScrollView android:fillViewport="true"
4         xmlns:android="http://schemas.android.com/apk/res/android"
5         android:layout_height="fill_parent"
6         android:layout_width="fill_parent">
7
8         <LinearLayout android:orientation="vertical"
9                 android:layout_width="fill_parent"
10                 android:layout_height="fill_parent">
11
12             <TextView
13                 android:id="@+id/lbl_account_spinner"
14                 android:layout_width="fill_parent"
15                 android:layout_height="wrap_content"
16                 android:layout_marginTop="10dip"
17                 android:textSize="14sp"
18                 android:text="@string/send_from_account"
19                     />
20
21                  <Spinner
22                         android:id="@+id/account_spinner"
23                         android:layout_width="fill_parent"
24                         android:layout_height="wrap_content"
25                         android:drawSelectorOnTop="true"
26                         android:prompt="@string/more"
27                     />
28                     
29                 <TextView android:layout_width="wrap_content"
30                         android:layout_height="wrap_content" android:text="@string/status"
31                         android:textSize="14sp" />
32
33                 <EditText android:id="@+id/body"
34             android:layout_width="fill_parent"
35             android:layout_height="wrap_content"
36             android:layout_weight="1.0"
37             android:textAppearance="?android:attr/textAppearanceMedium"
38             android:gravity="left|top"
39             android:minLines="3"
40             android:inputType="textMultiLine|textAutoCorrect|textCapSentences"
41             android:imeOptions="actionDone|flagNoEnterAction"
42                  />
43
44                 <LinearLayout android:orientation="horizontal"
45                         android:layout_width="fill_parent"
46                         android:layout_height="wrap_content">
47
48                         <Button android:id="@+id/confirm"
49                                 android:text="@string/send" android:layout_width="wrap_content"
50                                 android:drawableLeft="@drawable/button_indicator_next"
51                                 android:layout_height="wrap_content" />
52
53                         <TextView android:id="@+id/char_counter"
54                                 android:layout_marginLeft="15px" android:layout_width="wrap_content"
55                                 android:layout_height="wrap_content" android:text="0"
56                                 android:textSize="14sp" android:textColor="#FFFFFF" />
57                         <TextView android:id="@+id/char_separator"
58                                 android:layout_marginLeft="4px" android:layout_width="wrap_content"
59                                 android:layout_height="wrap_content" android:text="/"
60                                 android:textSize="14sp" android:textColor="#FFFFFF" />  
61                         <TextView android:id="@+id/char_limit"
62                                 android:layout_marginLeft="4px" android:layout_width="wrap_content"
63                                 android:layout_height="wrap_content" android:text="140"
64                                 android:textSize="14sp" android:textColor="#FFFFFF" />
65                                 
66                         <Button android:id="@+id/shorturl" android:layout_marginLeft="25px"
67                                 android:text="@string/shorturl" android:layout_width="wrap_content"
68                                 android:drawableLeft="@drawable/button_indicator_next"
69                                 android:layout_height="wrap_content" />
70                 </LinearLayout>
71
72                 <LinearLayout android:orientation="horizontal"
73                         android:layout_width="fill_parent"
74                         android:layout_height="wrap_content">
75
76                         <Button android:id="@+id/selectfilename"
77                                 android:text="@string/select_file"
78                                 android:layout_width="wrap_content"
79                                 android:drawableLeft="@drawable/button_indicator_next"
80                                 android:layout_height="wrap_content" />
81
82                         <TextView android:id="@+id/filename"
83                                 android:layout_width="fill_parent"
84                                 android:layout_height="wrap_content" android:text=""
85                                 android:textSize="14sp" />
86
87                 </LinearLayout>
88
89                 <LinearLayout android:orientation="horizontal"
90                         android:layout_width="fill_parent"
91                         android:layout_height="wrap_content">
92
93                         <CheckBox android:id="@+id/enable_location"
94                                 android:layout_width="wrap_content"
95                                 android:layout_height="wrap_content"
96                                 android:text="@string/enable_update_location" />
97
98                 </LinearLayout>
99
100         </LinearLayout>
101
102 </ScrollView>