root / res / layout / createserver.xml @ 8aee6f93
History | View | Annotate | Download (5.1 kB)
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
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>
|
81 |
|
82 |
<!-- android:layout_height="wrap_content" -->
|