/[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 753 - (hide annotations) (download) (as text)
Wed May 26 13:44:48 2010 UTC (14 years ago) by torben
File MIME type: text/xml
File size: 2794 byte(s)
Limit text length
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     android:text="from..."
25 torben 753 android:maxLength="11"
26 torben 745 android:selectAllOnFocus="true"
27    
28     />
29    
30     <EditText android:id="@+id/destination"
31     android:layout_width="fill_parent"
32     android:layout_height="wrap_content"
33     android:inputType="phone"
34     android:text="to..."
35     android:selectAllOnFocus="true"
36     />
37    
38     <EditText android:id="@+id/message"
39     android:layout_width="fill_parent"
40     android:layout_height="wrap_content"
41     android:text="message..."
42     android:selectAllOnFocus="true"
43 torben 753 android:maxLength="440"
44 torben 745
45     android:minLines="3"
46     android:inputType="textMultiLine"/>
47    
48    
49     <LinearLayout
50     android:orientation="horizontal"
51     android:layout_width="fill_parent"
52     android:layout_height="wrap_content"
53     >
54    
55     <TextView
56     android:layout_width="wrap_content"
57     android:layout_height="wrap_content"
58     android:layout_weight="1"
59     android:text="Count:"
60     />
61     <EditText android:id="@+id/count"
62     android:layout_width="wrap_content"
63     android:layout_height="wrap_content"
64     android:layout_weight="1"
65     android:inputType="number"
66     android:text="1"
67     />
68     </LinearLayout>
69    
70     <LinearLayout
71     android:orientation="horizontal"
72     android:layout_width="fill_parent"
73     android:layout_height="wrap_content"
74     >
75    
76     <TextView
77     android:layout_width="wrap_content"
78     android:layout_height="wrap_content"
79     android:layout_weight="1"
80     android:text="Interval:"
81     />
82     <EditText android:id="@+id/interval"
83     android:layout_width="wrap_content"
84     android:layout_height="wrap_content"
85     android:layout_weight="1"
86     android:inputType="number"
87     android:text="0"
88     android:selectAllOnFocus="true"
89     />
90     </LinearLayout>
91    
92    
93     <View
94     android:layout_width="fill_parent"
95     android:layout_height="wrap_content"
96     android:layout_weight="1"
97     />
98    
99    
100     <Button
101     android:id="@+id/send"
102     android:layout_width="fill_parent"
103     android:layout_height="wrap_content"
104     android:text="Send"
105     />
106    
107     </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20