From b1241719066f2636d6e30be525cef8bcc6d30619 Mon Sep 17 00:00:00 2001 From: lizhanwei <Dana_Lee1016@126.com> Date: 星期四, 23 四月 2020 13:05:44 +0800 Subject: [PATCH] 完善参数设置UI --- app/src/main/res/layout/layout_signal_conf_item.xml | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/layout_signal_conf_item.xml b/app/src/main/res/layout/layout_signal_conf_item.xml index 0842db8..8744c98 100644 --- a/app/src/main/res/layout/layout_signal_conf_item.xml +++ b/app/src/main/res/layout/layout_signal_conf_item.xml @@ -2,27 +2,33 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:gravity="center" - android:layout_height="60dp"> + + android:layout_height="100dp"> <TextView android:layout_width="0dp" android:layout_weight="1" android:id="@+id/tv_signal_1" + android:textColor="@android:color/white" android:layout_height="wrap_content" + android:textSize="@dimen/network_train_textsize22px" android:gravity="center" android:text="鍠囧彮"/> <EditText android:layout_width="0dp" + android:textColor="@android:color/white" android:layout_weight="1" android:gravity="center" android:layout_height="wrap_content" android:id="@+id/et_signal1_port" - android:background="@android:drawable/editbox_background_normal" + android:background="@drawable/tv_des_bg" + android:textSize="@dimen/network_train_textsize22px" android:text="0"/> <CheckBox android:layout_width="0dp" android:layout_weight="1" - android:gravity="center" + android:layout_gravity="center" android:id="@+id/signal_check_1" + android:layout_height="wrap_content" android:checked="true"/> <CheckBox @@ -32,13 +38,11 @@ android:id="@+id/signal_check_2" android:layout_height="wrap_content" android:checked="true"/> - <View - android:layout_width="1px" - android:layout_height="wrap_content" - android:background="@color/colorAccent"/> <TextView android:layout_width="0dp" android:layout_weight="1" + android:textColor="@android:color/white" + android:textSize="@dimen/network_train_textsize22px" android:gravity="center" android:id="@+id/tv_signal_2" android:layout_height="wrap_content" @@ -47,7 +51,9 @@ android:layout_width="0dp" android:layout_weight="1" android:gravity="center" - android:background="@android:drawable/editbox_background_normal" + android:textColor="@android:color/white" + android:textSize="@dimen/network_train_textsize22px" + android:background="@drawable/tv_des_bg" android:id="@+id/et_signal2_port" android:layout_height="wrap_content" android:text="0"/> -- Gitblit v1.8.0