blob: 7bdb38b06ebfc0bef3574a366cebf3367c25fd0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:baselineAligned="false"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/black"
android:padding="15dp" >
<RelativeLayout
android:id="@+id/left_frame"
android:layout_width="0dip"
android:layout_weight=".55"
android:layout_height="fill_parent"
android:background="@drawable/top_frame"
android:padding="5dp"
android:paddingRight="10dp" >
<CheckBox
android:id="@+id/chk_use_dhcp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginBottom="5dp"
android:text="@string/text_use_dhcp"
android:textColor="@color/ThemeLight"
android:textSize="8pt" />
<TextView
android:id="@+id/lbl_static_ip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/chk_use_dhcp"
android:layout_margin="5dp"
android:background="@color/black"
android:text="@string/text_ip_address"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<EditText
android:id="@+id/txt_static_ip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/chk_use_dhcp"
android:layout_marginBottom="8dp"
android:layout_marginRight="5dp"
android:layout_toRightOf="@id/lbl_static_ip"
android:background="@drawable/button_bg"
android:inputType="text"
android:padding="3dp"
android:textColor="@color/ThemeLight"
android:textSize="8pt" />
<TextView
android:id="@+id/lbl_netmask"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/txt_static_ip"
android:layout_margin="5dp"
android:background="@color/black"
android:text="@string/text_subnet_mask"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<EditText
android:id="@+id/txt_netmask"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_static_ip"
android:layout_marginBottom="8dp"
android:layout_marginRight="5dp"
android:layout_toRightOf="@id/lbl_netmask"
android:background="@drawable/button_bg"
android:inputType="text"
android:padding="3dp"
android:textColor="@color/ThemeLight"
android:textSize="8pt" />
<TextView
android:id="@+id/lbl_gateway"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/txt_netmask"
android:layout_margin="5dp"
android:background="@color/black"
android:text="@string/text_gateway"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<EditText
android:id="@+id/txt_gateway"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_netmask"
android:layout_marginBottom="8dp"
android:layout_marginRight="5dp"
android:layout_toRightOf="@id/lbl_gateway"
android:background="@drawable/button_bg"
android:inputType="text"
android:padding="3dp"
android:textColor="@color/ThemeLight"
android:textSize="8pt" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_frame"
android:layout_toRightOf="@id/left_frame"
android:layout_width="0dip"
android:layout_weight=".45"
android:layout_height="wrap_content"
android:background="@color/black"
android:padding="5dp" >
<Button
android:id="@+id/btn_save_ip_settings"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_gateway"
android:layout_centerHorizontal="true"
android:layout_marginBottom="10dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:background="@drawable/repwifi_button"
android:onClick="btnSaveClick"
android:text="@string/txt_save_ip_settings"
android:textColor="@color/ThemeLight" />
<Button
android:id="@+id/btn_back"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/btn_save_ip_settings"
android:layout_centerHorizontal="true"
android:layout_marginBottom="10dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:background="@drawable/repwifi_button"
android:onClick="btnBackClick"
android:text="@string/txt_back"
android:textColor="@color/ThemeLight" />
</RelativeLayout>
</LinearLayout>
|