From 8781baec4139154d35bd424de27667715188b6cb Mon Sep 17 00:00:00 2001 From: endian11 <Dana_Lee1016@126.com> Date: 星期四, 21 三月 2019 17:03:53 +0800 Subject: [PATCH] 完成系统配置 --- app/src/main/res/layout/layout_ftp_setting.xml | 86 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 84 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/layout_ftp_setting.xml b/app/src/main/res/layout/layout_ftp_setting.xml index f9504c9..9b3c0d0 100644 --- a/app/src/main/res/layout/layout_ftp_setting.xml +++ b/app/src/main/res/layout/layout_ftp_setting.xml @@ -1,6 +1,88 @@ <?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:layout_height="match_parent" + android:orientation="vertical" + android:padding="10dp" + android:gravity="center_horizontal" + > + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/black" + android:text="鏈嶅姟鍣ㄥ湴鍧�锛�"/> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="15dp" + android:text="IP锛�"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="192.168.23.12" + android:background="@android:drawable/editbox_background_normal"/> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dp" + android:text="Port锛�"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="8080" + android:background="@android:drawable/editbox_background_normal"/> + </LinearLayout> +<View + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:background="@color/colorAccent" + /> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/black" + android:text="鐧诲綍淇℃伅锛�"/> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="15dp" + android:text="鐢ㄦ埛鍚嶏細"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="GpsExam" + android:background="@android:drawable/editbox_background_normal"/> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dp" + android:text="瀵嗙爜锛�"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="192.168.23.12" + android:inputType="textPassword" + android:background="@android:drawable/editbox_background_normal"/> + </LinearLayout> + <View + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:background="@color/colorAccent" + /> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="淇濆瓨"/> </LinearLayout> -- Gitblit v1.8.0