root / res / layout / viewserver.xml @ 9a4cdbc6
History | View | Annotate | Download (3.8 kB)
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 |
Name
|
10 |
Flavor (256 Server)
|
11 |
Image (Ubuntu)
|
12 |
Memory
|
13 |
Disk
|
14 |
Status
|
15 |
|
16 |
Public IP Addresses
|
17 |
|
18 |
Private IP Addresses
|
19 |
|
20 |
Actions
|
21 |
-Reset Password
|
22 |
-Resize Server
|
23 |
-Delete Server
|
24 |
|
25 |
Soft Reboot / Hard Reboot
|
26 |
-->
|
27 |
|
28 |
<TextView
|
29 |
android:layout_width="fill_parent" |
30 |
android:layout_height="wrap_content" |
31 |
android:layout_marginLeft="22dip" |
32 |
android:text="Server Name" |
33 |
/>
|
34 |
<EditText android:id="@+id/server_name" |
35 |
android:layout_height="wrap_content" |
36 |
android:layout_width="fill_parent" |
37 |
android:layout_marginLeft="22dip" |
38 |
android:layout_marginRight="30dip" |
39 |
android:scrollHorizontally="true" |
40 |
android:autoText="false" |
41 |
android:capitalize="none" |
42 |
android:gravity="fill_horizontal" |
43 |
android:singleLine="true" |
44 |
android:inputType="textNoSuggestions" |
45 |
android:imeOptions="actionNext" |
46 |
android:textAppearance="?android:attr/textAppearanceMedium" |
47 |
/>
|
48 |
<!--
|
49 |
<TextView
|
50 |
android:layout_width="fill_parent"
|
51 |
android:layout_height="wrap_content"
|
52 |
android:layout_marginLeft="22dip"
|
53 |
android:text="@string/apikey"
|
54 |
/>
|
55 |
<EditText android:id="@+id/login_apikey"
|
56 |
android:layout_height="wrap_content"
|
57 |
android:layout_width="fill_parent"
|
58 |
android:layout_marginLeft="22dip"
|
59 |
android:layout_marginRight="30dip"
|
60 |
android:scrollHorizontally="true"
|
61 |
android:autoText="false"
|
62 |
android:capitalize="none"
|
63 |
android:gravity="fill_horizontal"
|
64 |
android:singleLine="true"
|
65 |
android:imeOptions="actionGo"
|
66 |
android:inputType="textNoSuggestions|textPassword"
|
67 |
android:textAppearance="?android:attr/textAppearanceMedium"
|
68 |
/>
|
69 |
|
70 |
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
|
71 |
android:id="@+id/flavor_spinner"
|
72 |
/>
|
73 |
-->
|
74 |
|
75 |
<TextView
|
76 |
android:layout_width="fill_parent" |
77 |
android:layout_height="wrap_content" |
78 |
android:layout_marginLeft="22dip" |
79 |
android:text="Image" |
80 |
/>
|
81 |
<Spinner xmlns:android="http://schemas.android.com/apk/res/android" |
82 |
android:id="@+id/image_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 |
<TextView
|
91 |
android:layout_width="fill_parent" |
92 |
android:layout_height="wrap_content" |
93 |
android:layout_marginLeft="22dip" |
94 |
android:text="Flavor" |
95 |
/>
|
96 |
<Spinner xmlns:android="http://schemas.android.com/apk/res/android" |
97 |
android:id="@+id/flavor_spinner" |
98 |
android:layout_height="wrap_content" |
99 |
android:layout_width="fill_parent" |
100 |
android:drawSelectorOnTop="true" |
101 |
android:layout_marginLeft="22dip" |
102 |
android:layout_marginRight="30dip" |
103 |
/>
|
104 |
|
105 |
<Button xmlns:android="http://schemas.android.com/apk/res/android" |
106 |
android:id="@+id/save_button" |
107 |
android:text="Save" |
108 |
android:layout_width="100dip" |
109 |
android:layout_height="wrap_content" |
110 |
android:layout_gravity="left" |
111 |
android:layout_marginLeft="20dip" |
112 |
android:layout_marginTop="10dip" |
113 |
/>
|
114 |
|
115 |
<ProgressBar android:id="@+id/save_server_progress_bar" |
116 |
android:layout_width="30dip" |
117 |
android:layout_height="30dip" |
118 |
android:layout_marginLeft="130dip" |
119 |
android:layout_marginTop="-42dip" |
120 |
android:visibility="invisible" |
121 |
/>
|
122 |
|
123 |
<TextView android:id="@+id/saving_server_label" |
124 |
android:layout_width="fill_parent" |
125 |
android:layout_height="wrap_content" |
126 |
android:layout_marginLeft="172dip" |
127 |
android:layout_marginTop="-28dip" |
128 |
android:visibility="invisible" |
129 |
android:textAppearance="?android:attr/textAppearanceMedium" |
130 |
android:text="Saving..." |
131 |
/>
|
132 |
</LinearLayout>
|
133 |
|
134 |
<!--
|
135 |
android:layout_height="wrap_content"
|
136 |
-->
|