diff --git a/modules/mogo-module-check/src/main/java/com/mogo/module/check/view/CheckActivity.java b/modules/mogo-module-check/src/main/java/com/mogo/module/check/view/CheckActivity.java index ce71c28a94..2a8c0d9cbf 100644 --- a/modules/mogo-module-check/src/main/java/com/mogo/module/check/view/CheckActivity.java +++ b/modules/mogo-module-check/src/main/java/com/mogo/module/check/view/CheckActivity.java @@ -84,7 +84,7 @@ public class CheckActivity extends AppCompatActivity { info.setUsual(false); info.setStyle(CheckItemInfo.CheckAdapterStyleEnum.ITEM_TYPE_CHECK_TITLE); list.add(info); - dataArrayList.add(0,list); + dataArrayList.add(0, list); } /** diff --git a/modules/mogo-module-check/src/main/res/drawable/check_list_item_back.xml b/modules/mogo-module-check/src/main/res/drawable/check_list_item_back.xml new file mode 100644 index 0000000000..c9bb7eb22b --- /dev/null +++ b/modules/mogo-module-check/src/main/res/drawable/check_list_item_back.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/modules/mogo-module-check/src/main/res/layout/check_hardware.xml b/modules/mogo-module-check/src/main/res/layout/check_hardware.xml index 95eb6de78d..0f2653d31d 100644 --- a/modules/mogo-module-check/src/main/res/layout/check_hardware.xml +++ b/modules/mogo-module-check/src/main/res/layout/check_hardware.xml @@ -4,18 +4,25 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/blue_back_color"> + android:layout_marginStart="@dimen/dp_100" + android:layout_marginTop="@dimen/dp_15" + android:layout_marginEnd="@dimen/dp_100" + android:layout_marginBottom="@dimen/dp_15" + android:background="@drawable/check_list_item_back"> + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_goneMarginTop="@dimen/dp_50" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/mogo-module-check/src/main/res/layout/check_list.xml b/modules/mogo-module-check/src/main/res/layout/check_list.xml index 1633696ad1..f495e52763 100644 --- a/modules/mogo-module-check/src/main/res/layout/check_list.xml +++ b/modules/mogo-module-check/src/main/res/layout/check_list.xml @@ -3,7 +3,12 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="2360px" - android:layout_height="@dimen/dp_643"> + android:layout_height="@dimen/dp_643" + android:layout_marginStart="@dimen/dp_100" + android:layout_marginTop="@dimen/dp_15" + android:layout_marginEnd="@dimen/dp_100" + android:layout_marginBottom="@dimen/dp_15" + android:background="@drawable/check_list_item_back"> + android:layout_width="match_parent" + android:layout_height="@dimen/dp_500" + android:layout_marginStart="@dimen/dp_100" + android:layout_marginTop="@dimen/dp_15" + android:layout_marginEnd="@dimen/dp_100" + android:layout_marginBottom="@dimen/dp_15"> @@ -19,6 +23,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dp_65" + android:layout_marginTop="@dimen/dp_20" android:text="自动驾驶车辆存在风险" android:textColor="@color/module_commons_wm_dialog_text_textColor" android:textSize="@dimen/dp_64" diff --git a/modules/mogo-module-check/src/main/res/values-xhdpi-2560x1600/dimens.xml b/modules/mogo-module-check/src/main/res/values-xhdpi-2560x1600/dimens.xml index a55589ed13..41cb439749 100644 --- a/modules/mogo-module-check/src/main/res/values-xhdpi-2560x1600/dimens.xml +++ b/modules/mogo-module-check/src/main/res/values-xhdpi-2560x1600/dimens.xml @@ -9,5 +9,7 @@ 1452px 715px 32px + 1078px + 1660px \ No newline at end of file diff --git a/modules/mogo-module-check/src/main/res/values/colors.xml b/modules/mogo-module-check/src/main/res/values/colors.xml index d98e77c4cb..3d6008947a 100644 --- a/modules/mogo-module-check/src/main/res/values/colors.xml +++ b/modules/mogo-module-check/src/main/res/values/colors.xml @@ -7,5 +7,6 @@ #FF1F1F #997AFF87 #7AFF87 + #242B59 \ No newline at end of file