aboutsummaryrefslogtreecommitdiffstats
path: root/app/res/layout-land/activity_ipv4_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/res/layout-land/activity_ipv4_settings.xml')
-rw-r--r--app/res/layout-land/activity_ipv4_settings.xml147
1 files changed, 147 insertions, 0 deletions
diff --git a/app/res/layout-land/activity_ipv4_settings.xml b/app/res/layout-land/activity_ipv4_settings.xml
new file mode 100644
index 0000000..7bdb38b
--- /dev/null
+++ b/app/res/layout-land/activity_ipv4_settings.xml
@@ -0,0 +1,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> \ No newline at end of file