|
@@ -6,151 +6,164 @@
|
|
|
android:background="@android:color/transparent">
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_net_config_view"
|
|
|
android:layout_width="481dp"
|
|
|
android:layout_height="441dp"
|
|
|
+ android:background="@color/white"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- android:background="@color/white">
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="23dp"
|
|
|
- android:text="请设置静态网络"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
- android:gravity="center" />
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginTop="@dimen/d24"
|
|
|
- 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:textStyle="bold"
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
- <EditText
|
|
|
- android:id="@+id/network2_ip"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="@dimen/d20"
|
|
|
- android:background="@drawable/selector_nuser_ed_d"
|
|
|
- android:hint="请输入IP地址"
|
|
|
- android:paddingLeft="@dimen/d30"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginTop="@dimen/d10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="网关"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="请设置静态网络"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
- <EditText
|
|
|
- android:id="@+id/network2_wg"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="@dimen/d35"
|
|
|
- android:background="@drawable/selector_nuser_ed_d"
|
|
|
- android:hint="请输入网关"
|
|
|
- android:paddingLeft="@dimen/d30"
|
|
|
android:textSize="@dimen/font_size_18"
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d52"
|
|
|
+ android:layout_marginTop="@dimen/d24"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginTop="@dimen/d10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="掩码"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
- <EditText
|
|
|
- android:id="@+id/network2_ym"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="@dimen/d35"
|
|
|
- android:background="@drawable/selector_nuser_ed_d"
|
|
|
- android:hint="请输入掩码"
|
|
|
- android:paddingLeft="@dimen/d30"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
- android:textStyle="bold" />
|
|
|
+ <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" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginTop="@dimen/d10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="DNS"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
- <EditText
|
|
|
- android:id="@+id/network2_dns"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="@dimen/d35"
|
|
|
- android:background="@drawable/selector_nuser_ed_d"
|
|
|
- android:hint="请输入DNS"
|
|
|
- android:paddingLeft="@dimen/d30"
|
|
|
- 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="@dimen/d20"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:hint="请输入IP地址"
|
|
|
+ android:paddingLeft="@dimen/d30"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginTop="@dimen/d24"
|
|
|
- android:layout_marginBottom="@dimen/d40"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/network2_cancel_button"
|
|
|
- android:layout_width="@dimen/d176"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_password_bt_bg"
|
|
|
- android:text="关闭"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"/>
|
|
|
- <Button
|
|
|
- android:id="@+id/network2_determine_button"
|
|
|
- android:layout_width="@dimen/d176"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
- android:text="确定"
|
|
|
- android:textSize="16sp"
|
|
|
- android:layout_marginLeft="@dimen/d31"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"/>
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d52"
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="网关"
|
|
|
+ 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="@dimen/d35"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:hint="请输入网关"
|
|
|
+ android:paddingLeft="@dimen/d30"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d52"
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="掩码"
|
|
|
+ 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="@dimen/d35"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:hint="请输入掩码"
|
|
|
+ android:paddingLeft="@dimen/d30"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d52"
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="DNS"
|
|
|
+ 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="@dimen/d35"
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
+ android:hint="请输入DNS"
|
|
|
+ android:paddingLeft="@dimen/d30"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d52"
|
|
|
+ android:layout_marginTop="@dimen/d24"
|
|
|
+ android:layout_marginBottom="@dimen/d40"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/network2_cancel_button"
|
|
|
+ android:layout_width="@dimen/d176"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_password_bt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="关闭"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/network2_determine_button"
|
|
|
+ android:layout_width="@dimen/d176"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:layout_marginLeft="@dimen/d31"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="确定"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|