From 3a5f09c61a87adb8dba2cc4a5366893886ba1c1d Mon Sep 17 00:00:00 2001
From: dupengyue <dupengyue@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 20 七月 2017 17:31:40 +0800
Subject: [PATCH] 接口初步完成
---
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right_lan.xml | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right_lan.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right_lan.xml
index cb20c99..fc1f23f 100644
--- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right_lan.xml
+++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_device_right_lan.xml
@@ -90,6 +90,8 @@
android:layout_marginBottom="@dimen/h12dp"
android:text=""
android:hint="192.168.2.1"
+ android:inputType="number"
+ android:digits="0123456789."
android:textColorHint="@color/colorText_b"
android:textSize="@dimen/w14dp"
android:textColor="@color/colorText_b"
@@ -121,6 +123,8 @@
android:layout_marginBottom="@dimen/h12dp"
android:text=""
android:hint="255.255.255.255"
+ android:inputType="number"
+ android:digits="0123456789"
android:textColorHint="@color/colorText_b"
android:textSize="@dimen/w14dp"
android:textColor="@color/colorText_b"
@@ -144,7 +148,7 @@
android:layout_marginBottom="@dimen/h6dp"
android:text="閫氳"
/>
- <LinearLayout
+ <RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
@@ -162,18 +166,21 @@
android:textColorHint="@color/colorText_b"
android:textColor="@color/colorText_b"
/>
+ <TextView
+ android:layout_width="@dimen/w80dp"
+ android:layout_height="match_parent"
+ android:text=""
+ android:layout_alignParentRight="true"
+ android:id="@+id/fragment_device_right_lan_protocol_more"
+ />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/u51"
- android:id="@+id/fragment_device_right_lan_protocol_more"
+ android:layout_marginRight="@dimen/w15dp"
+ android:layout_alignParentRight="true"
/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text=" "
- />
- </LinearLayout>
+ </RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/view_size_1"
--
Gitblit v1.8.0