|
@@ -0,0 +1,192 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:background="@android:color/transparent">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_net_config_view"
|
|
|
+ android:layout_width="480dp"
|
|
|
+ android:layout_height="448dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/net_config_title"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="IP"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/network2_ip"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:paddingLeft="30dp"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="Gateway"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/network2_wg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="36dp"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:paddingLeft="30dp"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="Netmask"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/network2_ym"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="36dp"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:paddingLeft="30dp"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="DNS1"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/network1_dns"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="36dp"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:paddingLeft="30dp"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="DNS2"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/network2_dns"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="36dp"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:paddingLeft="30dp"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:layout_marginBottom="40dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/network2_cancel_button"
|
|
|
+ android:layout_width="176dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:background="@drawable/shape_password_bt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_cancel"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/network2_determine_button"
|
|
|
+ android:layout_width="176dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_confirm"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</LinearLayout>
|