Statistics
| Branch: | Revision:

root / res / layout / addexternalnode.xml @ fee0d4aa

History | View | Annotate | Download (2.4 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_height="fill_parent"
4
        android:layout_width="fill_parent">
5
        <LinearLayout android:layout_height="wrap_content"
6
                android:id="@+id/linearLayout1" android:orientation="vertical"
7
                android:layout_width="fill_parent">
8
                <TextView android:id="@+id/textView1" android:layout_width="wrap_content"
9
                        android:layout_height="wrap_content" android:text="IP Address"
10
                        android:layout_marginLeft="10dip" android:layout_marginTop="10dip"></TextView>
11
                <EditText android:layout_height="wrap_content"
12
                        android:layout_width="fill_parent" android:layout_marginLeft="20dip"
13
                        android:layout_marginRight="30dip" android:id="@+id/ip_address" android:lines="1" android:scrollHorizontally="true"></EditText>
14
                <TextView android:id="@+id/textView2" android:layout_width="wrap_content"
15
                        android:layout_height="wrap_content" android:layout_marginLeft="10dip"
16
                        android:text="Port"></TextView>
17
                <EditText android:layout_width="fill_parent"
18
                        android:layout_height="wrap_content" android:inputType="number"
19
                        android:layout_marginLeft="20dip" android:layout_marginRight="30dip" android:id="@+id/node_port_text">
20
                        <requestFocus></requestFocus>
21
                </EditText>
22
                <TextView android:layout_width="wrap_content" android:id="@+id/TextView01"
23
                        android:layout_marginLeft="10dip" android:layout_height="wrap_content"
24
                        android:text="Condition"></TextView>
25
                <Spinner android:layout_marginLeft="20dip"
26
                        android:layout_height="wrap_content" android:layout_width="fill_parent"
27
                        android:layout_marginRight="30dip" android:id="@+id/node_condition_spinner"></Spinner>
28
                <TextView android:layout_height="wrap_content"
29
                        android:layout_marginLeft="10dip" android:id="@+id/node_weight_label"
30
                        android:layout_width="wrap_content" android:text="Weight"></TextView>
31
                <EditText android:layout_height="wrap_content"
32
                        android:layout_marginRight="30dip" android:layout_marginLeft="20dip"
33
                        android:inputType="number" android:layout_width="fill_parent"
34
                        android:id="@+id/node_weight_text"></EditText>
35
                <Button android:layout_gravity="center_horizontal"
36
                        android:layout_marginTop="10dip" android:layout_marginBottom="10dip"
37
                        android:layout_width="120dip" android:text="Submit" android:layout_height="wrap_content" android:id="@+id/add_node_button"></Button>
38
        </LinearLayout>
39

    
40
</ScrollView>