From b5044d0daf6e6b5702b824d8f6f97c23fec454a0 Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期五, 28 二月 2020 09:24:52 +0800 Subject: [PATCH] 提交mcu info ,修改崩溃bug --- app/src/main/res/layout/layout_base_datas.xml | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 115 insertions(+), 0 deletions(-) diff --git a/app/src/main/res/layout/layout_base_datas.xml b/app/src/main/res/layout/layout_base_datas.xml index 1310686..ab91696 100644 --- a/app/src/main/res/layout/layout_base_datas.xml +++ b/app/src/main/res/layout/layout_base_datas.xml @@ -54,6 +54,98 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@android:color/black" + android:text="@string/rtk_addr_des"/> + <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:id="@+id/rtk_addr_ip" + 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:id="@+id/rtk_addr_port" + 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="鐪両D锛�"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/et_provice_id" + android:text="12" + android:inputType="numberDecimal" + android:background="@android:drawable/editbox_background_normal"/> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dp" + android:text="甯侷D锛�"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/et_city_id" + android:text="192" + android:inputType="numberDecimal" + 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:id="@+id/et_phone" + android:text="19234567894" + android:inputType="numberDecimal" + 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="杞﹁浇淇″彿杈撳叆锛�"/> <TableLayout android:layout_width="match_parent" @@ -160,6 +252,7 @@ android:layout_marginBottom="10dp" android:background="@color/colorAccent" /> + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" @@ -207,6 +300,28 @@ android:layout_marginBottom="10dp" android:background="@color/colorAccent" /> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <TextView + android:textColor="@android:color/black" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:id="@+id/tv_mcu_info" + android:text="@string/mcu_info" + android:layout_weight="1"/> + + + </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" -- Gitblit v1.8.0