diff options
Diffstat (limited to 'app/res/layout/activity_ipv4_settings.xml')
-rw-r--r-- | app/res/layout/activity_ipv4_settings.xml | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/app/res/layout/activity_ipv4_settings.xml b/app/res/layout/activity_ipv4_settings.xml new file mode 100644 index 0000000..5c0887c --- /dev/null +++ b/app/res/layout/activity_ipv4_settings.xml @@ -0,0 +1,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>
\ No newline at end of file |