/[svn]/jsampler/trunk/android/res/layout/add_backend.xml
ViewVC logotype

Contents of /jsampler/trunk/android/res/layout/add_backend.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2302 - (show annotations) (download) (as text)
Thu Dec 15 23:13:30 2011 UTC (7 years, 11 months ago) by iliev
File MIME type: text/xml
File size: 2766 byte(s)
* Initial support for Android platforms (only sampler channel
  manipulation for now - see the screenshots on the website)

1 <?xml version="1.0" encoding="utf-8"?>
2 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent" >
5
6 <TableRow
7 android:layout_width="match_parent"
8 android:layout_height="wrap_content" >
9
10 <TextView
11 android:layout_width="wrap_content"
12 android:layout_height="wrap_content"
13 android:layout_gravity="center_vertical|right"
14 android:text="@string/label_name" />
15
16 <EditText
17 android:id="@+id/add_backend_et_name"
18 android:singleLine="true"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:layout_weight="1" >
22
23 <requestFocus />
24 </EditText>
25
26 </TableRow>
27
28 <TableRow
29 android:layout_width="match_parent"
30 android:layout_height="match_parent" >
31
32 <TextView
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:layout_gravity="center_vertical|right"
36 android:text="@string/label_desc" />
37
38 <EditText
39 android:id="@+id/add_backend_et_desc"
40 android:singleLine="true"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:layout_weight="1" />
44 </TableRow>
45
46 <TableRow
47 android:layout_width="match_parent"
48 android:layout_height="match_parent" >
49
50 <TextView
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_gravity="center_vertical|right"
54 android:text="@string/label_addr" />
55
56 <EditText
57 android:id="@+id/add_backend_et_addr"
58 android:singleLine="true"
59 android:layout_width="match_parent"
60 android:layout_height="wrap_content"
61 android:layout_weight="1" />
62 </TableRow>
63
64 <TableRow
65 android:layout_width="match_parent"
66 android:layout_height="match_parent" >
67
68 <TextView
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:layout_gravity="center_vertical|right"
72 android:text="@string/label_port" />
73
74 <EditText
75 android:id="@+id/add_backend_et_port"
76 android:layout_width="match_parent"
77 android:layout_height="wrap_content"
78 android:layout_weight="1"
79 android:inputType="number" />
80 </TableRow>
81
82 <View
83 android:layout_width="match_parent"
84 android:layout_height="5dp" />
85
86 <include layout="@layout/ok_cancel" />
87
88 </TableLayout>

  ViewVC Help
Powered by ViewVC