From e70aa14f48dfd9fc54539c06a41c966074a0a601 Mon Sep 17 00:00:00 2001 From: liujing Date: Wed, 13 Oct 2021 13:13:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E5=88=97=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=A0=BCUI=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/check_info_adapter.xml | 6 +++--- .../src/main/res/layout/check_info_title_item.xml | 13 +++++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_adapter.xml b/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_adapter.xml index 39c5a5a9fe..4d3f41e3df 100644 --- a/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_adapter.xml +++ b/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_adapter.xml @@ -8,7 +8,7 @@ @@ -27,9 +28,8 @@ android:id="@+id/info_result_tx" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="@dimen/dp_27" android:ellipsize="end" - android:gravity="left" + android:gravity="center" android:maxLines="2" android:text="检测中检测中检测中检测中老链路来了来了" android:textColor="#fff" diff --git a/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_title_item.xml b/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_title_item.xml index eb90a08022..fe59c709b5 100644 --- a/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_title_item.xml +++ b/core/function-impl/mogo-core-function-check/src/main/res/layout/check_info_title_item.xml @@ -10,7 +10,9 @@ android:layout_width="0px" android:layout_height="match_parent" android:background="@drawable/check_item_left_shape" - android:gravity="center" + android:gravity="left" + android:paddingLeft="@dimen/dp_40" + android:paddingTop="@dimen/dp_32" android:text="模块名称" android:textSize="@dimen/dp_38" app:layout_constraintHorizontal_chainStyle="spread" @@ -24,7 +26,8 @@ android:layout_width="0px" android:layout_height="match_parent" android:background="@drawable/check_item_left_shape" - android:gravity="center" + android:paddingLeft="@dimen/dp_40" + android:paddingTop="@dimen/dp_32" android:text="运行状态" android:textSize="@dimen/dp_38" app:layout_constraintHorizontal_chainStyle="spread" @@ -38,7 +41,8 @@ android:layout_width="0px" android:layout_height="match_parent" android:background="@drawable/check_item_left_shape" - android:gravity="center" + android:paddingLeft="@dimen/dp_40" + android:paddingTop="@dimen/dp_32" android:text="模块名称" android:textSize="@dimen/dp_38" app:layout_constraintHorizontal_chainStyle="spread" @@ -52,7 +56,8 @@ android:layout_width="0px" android:layout_height="match_parent" android:background="@drawable/check_item_right_shape" - android:gravity="center" + android:paddingLeft="@dimen/dp_40" + android:paddingTop="@dimen/dp_32" android:text="运行状态" android:textSize="@dimen/dp_38" app:layout_constraintHorizontal_chainStyle="spread"