|
|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
@@ -70,7 +71,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing_small"
|
|
|
- android:background="@drawable/common_btn_bg"
|
|
|
+ android:background="@drawable/common_btn_blue_bg"
|
|
|
android:gravity="center"
|
|
|
android:paddingHorizontal="@dimen/common_spacing_big"
|
|
|
android:paddingVertical="@dimen/common_text_padding"
|
|
|
@@ -89,13 +90,13 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<!-- 串口地址设置 -->
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_port_title"
|
|
|
style="@style/CommonTextView"
|
|
|
android:text="@string/port_address_config"
|
|
|
android:textSize="@dimen/common_text_size_big" />
|
|
|
@@ -103,6 +104,7 @@
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_port_title"
|
|
|
android:layout_marginVertical="@dimen/common_spacing_small"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
@@ -132,19 +134,24 @@
|
|
|
android:rotation="90"
|
|
|
android:src="@mipmap/arrow" />
|
|
|
</RelativeLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_set_port"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/common_spacing_small"
|
|
|
- android:background="@drawable/common_btn_bg"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingHorizontal="@dimen/common_spacing_big"
|
|
|
- android:paddingVertical="@dimen/common_text_padding"
|
|
|
- android:text="@string/settings"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
</LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_tip"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:text="@string/system_setting_tip"
|
|
|
+ android:textSize="@dimen/common_text_size_small" />
|
|
|
+
|
|
|
+ <com.grkj.iscs.view.widget.CommonBtn
|
|
|
+ android:id="@+id/cb_save"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_above="@id/tv_tip"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing_small"
|
|
|
+ app:btn_bg="@drawable/common_btn_blue_bg"
|
|
|
+ app:btn_name="@string/save_config" />
|
|
|
+ </RelativeLayout>
|
|
|
</LinearLayout>
|