/[projects]/android/SmsSend/res/layout/main.xml
ViewVC logotype

Annotation of /android/SmsSend/res/layout/main.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1135 - (hide annotations) (download) (as text)
Mon Sep 27 05:27:38 2010 UTC (13 years, 8 months ago) by torben
File MIME type: text/xml
File size: 2774 byte(s)
Tweak UI and disable SMSDaemon option
1 torben 745 <?xml version="1.0" encoding="utf-8"?>
2     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:orientation="vertical"
4     android:layout_width="fill_parent"
5     android:layout_height="fill_parent"
6     >
7    
8    
9     <Spinner
10     android:id="@+id/method"
11     android:layout_width="fill_parent"
12     android:layout_height="wrap_content"
13     android:prompt="@string/method_prompt"/>
14     <Button
15     android:id="@+id/selectNumber"
16     android:layout_width="fill_parent"
17     android:layout_height="wrap_content"
18     android:text="Select receipient"
19     />
20    
21     <EditText android:id="@+id/origin"
22     android:layout_width="fill_parent"
23     android:layout_height="wrap_content"
24 torben 1135
25     android:hint="@string/from"
26 torben 753 android:maxLength="11"
27 torben 745 android:selectAllOnFocus="true"
28    
29     />
30    
31     <EditText android:id="@+id/destination"
32     android:layout_width="fill_parent"
33     android:layout_height="wrap_content"
34     android:inputType="phone"
35 torben 1135 android:hint="@string/to"
36 torben 745 android:selectAllOnFocus="true"
37     />
38    
39     <EditText android:id="@+id/message"
40     android:layout_width="fill_parent"
41     android:layout_height="wrap_content"
42 torben 1135 android:hint="@string/message"
43 torben 745 android:selectAllOnFocus="true"
44 torben 753 android:maxLength="440"
45 torben 745
46     android:minLines="3"
47     android:inputType="textMultiLine"/>
48    
49    
50     <LinearLayout
51     android:orientation="horizontal"
52     android:layout_width="fill_parent"
53     android:layout_height="wrap_content"
54     >
55    
56     <TextView
57 torben 1135 android:layout_width="0px"
58 torben 745 android:layout_height="wrap_content"
59     android:layout_weight="1"
60     android:text="Count:"
61     />
62     <EditText android:id="@+id/count"
63 torben 1135 android:layout_width="0px"
64 torben 745 android:layout_height="wrap_content"
65     android:layout_weight="1"
66     android:inputType="number"
67     android:text="1"
68     />
69     </LinearLayout>
70    
71     <LinearLayout
72     android:orientation="horizontal"
73     android:layout_width="fill_parent"
74     android:layout_height="wrap_content"
75     >
76    
77     <TextView
78 torben 1135 android:layout_width="0px"
79 torben 745 android:layout_height="wrap_content"
80     android:layout_weight="1"
81     android:text="Interval:"
82     />
83     <EditText android:id="@+id/interval"
84 torben 1135 android:layout_width="0px"
85 torben 745 android:layout_height="wrap_content"
86     android:layout_weight="1"
87     android:inputType="number"
88     android:text="0"
89     android:selectAllOnFocus="true"
90     />
91     </LinearLayout>
92    
93    
94     <View
95     android:layout_width="fill_parent"
96     android:layout_height="wrap_content"
97     android:layout_weight="1"
98     />
99    
100    
101     <Button
102     android:id="@+id/send"
103     android:layout_width="fill_parent"
104     android:layout_height="wrap_content"
105     android:text="Send"
106     />
107    
108     </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20