blob: 5c0887c42429396d1ada886da8b531731223ffe7 (
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
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:padding="15dp"
tools:context=".Ipv4SettingsActivity" >
<TextView
android:id="@+id/lbl_ip_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:background="@color/black"
android:text="@string/text_ipv4_settings"
android:textColor="@color/ThemeLight"
android:textSize="12pt" />
<CheckBox
android:id="@+id/chk_use_dhcp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/lbl_ip_settings"
android:layout_margin="10dp"
android:text="@string/text_use_dhcp"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<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="10dp"
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_margin="10dp"
android:layout_toRightOf="@id/lbl_static_ip"
android:background="@drawable/button_bg"
android:inputType="text"
android:padding="5pt"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<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="10dp"
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_margin="10dp"
android:layout_toRightOf="@id/lbl_netmask"
android:background="@drawable/button_bg"
android:inputType="text"
android:padding="5pt"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<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="10dp"
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_margin="10dp"
android:layout_toRightOf="@id/lbl_gateway"
android:background="@drawable/button_bg"
android:inputType="text"
android:padding="5pt"
android:textColor="@color/ThemeLight"
android:textSize="9pt" />
<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_marginTop="25dp"
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_marginTop="15dp"
android:background="@drawable/repwifi_button"
android:onClick="btnBackClick"
android:text="@string/txt_back"
android:textColor="@color/ThemeLight" />
</RelativeLayout>
|