fix: 移除部分背景色

This commit is contained in:
niushuai233 2022-10-20 14:46:42 +08:00
parent 269c3433f4
commit 7d805defeb
2 changed files with 2 additions and 8 deletions

View File

@ -9,8 +9,7 @@
<RelativeLayout <RelativeLayout
android:id="@id/power_switch_activity_layout" android:id="@id/power_switch_activity_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent">
android:background="@color/main_bg_color">
<include layout="@layout/activity_common_title"/> <include layout="@layout/activity_common_title"/>
@ -18,8 +17,7 @@
android:id="@id/power_switch_activity_layout_content" android:id="@id/power_switch_activity_layout_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/activity_layout_title" android:layout_below="@id/activity_layout_title">
android:background="@color/main_bg_color">
<!--中间开关图片 可点击--> <!--中间开关图片 可点击-->
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView

View File

@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/main_bg_color"
tools:context=".ui.powerswitch.PowerSwitchSetActivity"> tools:context=".ui.powerswitch.PowerSwitchSetActivity">
<RelativeLayout <RelativeLayout
@ -21,7 +20,6 @@
android:layout_height="50dp" android:layout_height="50dp"
android:layout_below="@id/activity_layout_title" android:layout_below="@id/activity_layout_title"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:background="@color/main_bg_color"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -51,7 +49,6 @@
android:layout_height="50dp" android:layout_height="50dp"
android:layout_below="@id/power_switch_set_activity_item_iconChange_outside" android:layout_below="@id/power_switch_set_activity_item_iconChange_outside"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:background="@color/main_bg_color"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@ -81,7 +78,6 @@
android:layout_height="50dp" android:layout_height="50dp"
android:layout_below="@id/power_switch_set_activity_item_paramSet_outside" android:layout_below="@id/power_switch_set_activity_item_paramSet_outside"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:background="@color/main_bg_color"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView