1 |
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 |
|
<RelativeLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@+id/RelativeLayout1">
|
8 |
|
<TextView android:id="@+id/TextView1" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:text="Number of Servers" android:layout_height="wrap_content" android:layout_marginTop="5dip" android:layout_marginLeft="22dip" android:layout_width="wrap_content"></TextView>
|
9 |
|
<TextView android:layout_toRightOf="@+id/TextView1" android:layout_alignBaseline="@+id/TextView1" android:layout_alignParentTop="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5dip" android:layout_alignParentRight="true" android:gravity="right" android:layout_marginRight="30dip" android:id="@+id/server_count_text" android:text="1 Server"></TextView>
|
10 |
|
</RelativeLayout>
|
11 |
|
<SeekBar android:layout_height="wrap_content" android:id="@+id/number_of_servers" android:max="9" android:layout_gravity="center" android:layout_width="fill_parent" android:layout_marginLeft="12dip" android:layout_marginRight="20dip" android:paddingRight="10dip" android:paddingLeft="15dip"></SeekBar>
|
|
2 |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3 |
android:orientation="vertical" android:layout_width="fill_parent"
|
|
4 |
android:layout_height="fill_parent">
|
|
5 |
<LinearLayout android:layout_width="fill_parent"
|
|
6 |
android:id="@+id/linearLayout1" android:orientation="vertical"
|
|
7 |
android:layout_height="324dp" android:paddingBottom="20dip">
|
|
8 |
<RelativeLayout android:layout_width="fill_parent"
|
|
9 |
android:layout_height="wrap_content" android:id="@+id/RelativeLayout1">
|
|
10 |
<TextView android:layout_alignParentTop="true"
|
|
11 |
android:layout_marginLeft="22dip" android:layout_alignParentLeft="true"
|
|
12 |
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
13 |
android:text="Number of Servers" android:id="@+id/TextView1"
|
|
14 |
android:layout_marginTop="5dip"></TextView>
|
|
15 |
<TextView android:layout_alignParentTop="true"
|
|
16 |
android:layout_alignParentRight="true" android:gravity="right"
|
|
17 |
android:layout_width="wrap_content" android:layout_alignBaseline="@+id/TextView1"
|
|
18 |
android:layout_marginRight="30dip" android:layout_height="wrap_content"
|
|
19 |
android:text="1 Server" android:id="@+id/server_count_text"
|
|
20 |
android:layout_toRightOf="@+id/TextView1" android:layout_marginTop="5dip"></TextView>
|
|
21 |
</RelativeLayout>
|
|
22 |
<SeekBar android:paddingRight="10dip" android:layout_width="fill_parent"
|
|
23 |
android:paddingLeft="15dip" android:layout_height="wrap_content"
|
|
24 |
android:layout_gravity="center" android:id="@+id/number_of_servers"
|
|
25 |
android:layout_marginLeft="12dip" android:layout_marginRight="20dip"
|
|
26 |
android:max="9"></SeekBar>
|
|
27 |
<TextView android:layout_width="fill_parent"
|
|
28 |
android:layout_marginLeft="22dip" android:text="Server Name"
|
|
29 |
android:layout_height="wrap_content"></TextView>
|
|
30 |
<RelativeLayout android:layout_width="fill_parent"
|
|
31 |
android:layout_height="wrap_content" android:id="@+id/RelativeLayout1">
|
|
32 |
<EditText android:layout_alignParentLeft="true"
|
|
33 |
android:layout_alignParentTop="true" android:textAppearance="?android:attr/textAppearanceMedium"
|
|
34 |
android:autoText="false" android:singleLine="true"
|
|
35 |
android:layout_weight="1" android:imeOptions="actionNext"
|
|
36 |
android:scrollHorizontally="true" android:id="@+id/server_name"
|
|
37 |
android:capitalize="none" android:layout_height="wrap_content"
|
|
38 |
android:inputType="textNoSuggestions" android:layout_marginLeft="22dip"
|
|
39 |
android:layout_width="fill_parent" android:paddingRight="55dip"
|
|
40 |
android:layout_marginRight="30dip" android:gravity="center_vertical|fill_horizontal"></EditText>
|
|
41 |
<TextView android:layout_width="wrap_content"
|
|
42 |
android:layout_height="wrap_content" android:text=" "
|
|
43 |
android:id="@+id/names_number" android:layout_alignRight="@+id/server_name"
|
|
44 |
android:layout_marginRight="10dip" android:layout_centerVertical="true"></TextView>
|
|
45 |
</RelativeLayout>
|
|
46 |
<TextView android:layout_width="fill_parent"
|
|
47 |
android:layout_marginLeft="22dip" android:text="Image"
|
|
48 |
android:layout_height="wrap_content"></TextView>
|
|
49 |
<Spinner android:layout_width="fill_parent"
|
|
50 |
android:layout_height="wrap_content" android:id="@+id/image_spinner"
|
|
51 |
android:layout_marginLeft="22dip" android:layout_marginRight="30dip"></Spinner>
|
|
52 |
<TextView android:layout_width="fill_parent"
|
|
53 |
android:layout_marginLeft="22dip" android:text="Flavor"
|
|
54 |
android:layout_height="wrap_content"></TextView>
|
|
55 |
<Spinner android:layout_width="fill_parent"
|
|
56 |
android:layout_height="wrap_content" android:id="@+id/flavor_spinner"
|
|
57 |
android:layout_marginLeft="22dip" android:layout_marginRight="30dip"></Spinner>
|
|
58 |
<Button android:layout_marginTop="10dip" android:layout_width="100dip"
|
|
59 |
android:layout_gravity="left" android:layout_marginLeft="20dip"
|
|
60 |
android:id="@+id/save_button" android:layout_height="wrap_content"
|
|
61 |
android:text="Save"></Button>
|
|
62 |
<ProgressBar android:layout_marginTop="-42dip"
|
|
63 |
android:layout_width="30dip" android:layout_height="30dip"
|
|
64 |
android:visibility="invisible" android:layout_marginLeft="130dip"
|
|
65 |
android:id="@+id/save_server_progress_bar"></ProgressBar>
|
|
66 |
<TextView android:textAppearance="?android:attr/textAppearanceMedium"
|
|
67 |
android:layout_marginTop="-28dip" android:layout_width="fill_parent"
|
|
68 |
android:visibility="invisible" android:layout_marginLeft="172dip"
|
|
69 |
android:text="Saving..." android:id="@+id/saving_server_label"
|
|
70 |
android:layout_height="wrap_content"></TextView>
|
|
71 |
</LinearLayout>
|
|
72 |
<!-- <TextView android:layout_width="fill_parent" android:layout_height="wrap_content"
|
|
73 |
android:layout_marginLeft="22dip" android:text="@string/apikey" /> <EditText
|
|
74 |
android:id="@+id/login_apikey" android:layout_height="wrap_content" android:layout_width="fill_parent"
|
|
75 |
android:layout_marginLeft="22dip" android:layout_marginRight="30dip" android:scrollHorizontally="true"
|
|
76 |
android:autoText="false" android:capitalize="none" android:gravity="fill_horizontal"
|
|
77 |
android:singleLine="true" android:imeOptions="actionGo" android:inputType="textNoSuggestions|textPassword"
|
|
78 |
android:textAppearance="?android:attr/textAppearanceMedium" /> <Spinner xmlns:android="http://schemas.android.com/apk/res/android"
|
|
79 |
android:id="@+id/flavor_spinner" /> -->
|
|
80 |
</ScrollView>
|
12 |
81 |
|
13 |
|
<TextView
|
14 |
|
android:layout_width="fill_parent"
|
15 |
|
android:layout_height="wrap_content"
|
16 |
|
android:layout_marginLeft="22dip"
|
17 |
|
android:text="Server Name"
|
18 |
|
/>
|
19 |
|
<EditText android:id="@+id/server_name"
|
20 |
|
android:layout_height="wrap_content"
|
21 |
|
android:layout_width="fill_parent"
|
22 |
|
android:layout_marginLeft="22dip"
|
23 |
|
android:layout_marginRight="30dip"
|
24 |
|
android:scrollHorizontally="true"
|
25 |
|
android:autoText="false"
|
26 |
|
android:capitalize="none"
|
27 |
|
android:gravity="fill_horizontal"
|
28 |
|
android:singleLine="true"
|
29 |
|
android:inputType="textNoSuggestions"
|
30 |
|
android:imeOptions="actionNext"
|
31 |
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
32 |
|
/>
|
33 |
|
<!--
|
34 |
|
<TextView
|
35 |
|
android:layout_width="fill_parent"
|
36 |
|
android:layout_height="wrap_content"
|
37 |
|
android:layout_marginLeft="22dip"
|
38 |
|
android:text="@string/apikey"
|
39 |
|
/>
|
40 |
|
<EditText android:id="@+id/login_apikey"
|
41 |
|
android:layout_height="wrap_content"
|
42 |
|
android:layout_width="fill_parent"
|
43 |
|
android:layout_marginLeft="22dip"
|
44 |
|
android:layout_marginRight="30dip"
|
45 |
|
android:scrollHorizontally="true"
|
46 |
|
android:autoText="false"
|
47 |
|
android:capitalize="none"
|
48 |
|
android:gravity="fill_horizontal"
|
49 |
|
android:singleLine="true"
|
50 |
|
android:imeOptions="actionGo"
|
51 |
|
android:inputType="textNoSuggestions|textPassword"
|
52 |
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
53 |
|
/>
|
54 |
|
|
55 |
|
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
|
56 |
|
android:id="@+id/flavor_spinner"
|
57 |
|
/>
|
58 |
|
-->
|
59 |
|
|
60 |
|
<TextView
|
61 |
|
android:layout_width="fill_parent"
|
62 |
|
android:layout_height="wrap_content"
|
63 |
|
android:layout_marginLeft="22dip"
|
64 |
|
android:text="Image"
|
65 |
|
/>
|
66 |
|
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
|
67 |
|
android:id="@+id/image_spinner"
|
68 |
|
android:layout_height="wrap_content"
|
69 |
|
android:layout_width="fill_parent"
|
70 |
|
android:drawSelectorOnTop="true"
|
71 |
|
android:layout_marginLeft="22dip"
|
72 |
|
android:layout_marginRight="30dip"
|
73 |
|
/>
|
74 |
|
|
75 |
|
<TextView
|
76 |
|
android:layout_width="fill_parent"
|
77 |
|
android:layout_height="wrap_content"
|
78 |
|
android:layout_marginLeft="22dip"
|
79 |
|
android:text="Flavor"
|
80 |
|
/>
|
81 |
|
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
|
82 |
|
android:id="@+id/flavor_spinner"
|
83 |
|
android:layout_height="wrap_content"
|
84 |
|
android:layout_width="fill_parent"
|
85 |
|
android:drawSelectorOnTop="true"
|
86 |
|
android:layout_marginLeft="22dip"
|
87 |
|
android:layout_marginRight="30dip"
|
88 |
|
/>
|
89 |
|
|
90 |
|
<Button xmlns:android="http://schemas.android.com/apk/res/android"
|
91 |
|
android:id="@+id/save_button"
|
92 |
|
android:text="Save"
|
93 |
|
android:layout_width="100dip"
|
94 |
|
android:layout_height="wrap_content"
|
95 |
|
android:layout_gravity="left"
|
96 |
|
android:layout_marginLeft="20dip"
|
97 |
|
android:layout_marginTop="10dip"
|
98 |
|
/>
|
99 |
|
|
100 |
|
<ProgressBar android:id="@+id/save_server_progress_bar"
|
101 |
|
android:layout_width="30dip"
|
102 |
|
android:layout_height="30dip"
|
103 |
|
android:layout_marginLeft="130dip"
|
104 |
|
android:layout_marginTop="-42dip"
|
105 |
|
android:visibility="invisible"
|
106 |
|
/>
|
107 |
|
|
108 |
|
<TextView android:id="@+id/saving_server_label"
|
109 |
|
android:layout_width="fill_parent"
|
110 |
|
android:layout_height="wrap_content"
|
111 |
|
android:layout_marginLeft="172dip"
|
112 |
|
android:layout_marginTop="-28dip"
|
113 |
|
android:visibility="invisible"
|
114 |
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
115 |
|
android:text="Saving..."
|
116 |
|
/>
|
117 |
|
</LinearLayout>
|
118 |
|
|
119 |
|
<!--
|
120 |
|
android:layout_height="wrap_content"
|
121 |
|
-->
|
|
82 |
<!-- android:layout_height="wrap_content" -->
|