1 |
<?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 |
|
25 |
android:hint="@string/from" |
26 |
android:maxLength="11" |
27 |
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 |
android:hint="@string/to" |
36 |
android:selectAllOnFocus="true" |
37 |
/> |
38 |
|
39 |
<EditText android:id="@+id/message" |
40 |
android:layout_width="fill_parent" |
41 |
android:layout_height="wrap_content" |
42 |
android:hint="@string/message" |
43 |
android:selectAllOnFocus="true" |
44 |
android:maxLength="440" |
45 |
|
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 |
android:layout_width="0px" |
58 |
android:layout_height="wrap_content" |
59 |
android:layout_weight="1" |
60 |
android:text="Count:" |
61 |
/> |
62 |
<EditText android:id="@+id/count" |
63 |
android:layout_width="0px" |
64 |
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 |
android:layout_width="0px" |
79 |
android:layout_height="wrap_content" |
80 |
android:layout_weight="1" |
81 |
android:text="Interval:" |
82 |
/> |
83 |
<EditText android:id="@+id/interval" |
84 |
android:layout_width="0px" |
85 |
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> |