Fix the backcolor problem in Display/Font size page

- This is side effect due to the color change by the framework.
- Use the colorBackground to replace colorBackgroundFloating.

Fixes: 174962015
Test: manual test
Change-Id: I30128e2eee6ddcc66d56126e132afb400873b0ee
This commit is contained in:
Sunny Shao
2021-03-31 11:26:02 +08:00
parent 91b4a58111
commit 751a6c47a3
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="400dp" android:layout_height="400dp"
android:layout_weight="1" android:layout_weight="1"
android:background="?android:attr/colorBackgroundFloating" android:background="?android:attr/colorBackground"
android:contentDescription="@string/preview_pager_content_description" /> android:contentDescription="@string/preview_pager_content_description" />
<TextView <TextView

View File

@@ -29,7 +29,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?android:attr/colorBackgroundFloating" android:background="?android:attr/colorBackground"
android:paddingTop="@dimen/conversation_message_list_padding" android:paddingTop="@dimen/conversation_message_list_padding"
android:paddingStart="@dimen/conversation_message_list_padding" android:paddingStart="@dimen/conversation_message_list_padding"
android:paddingEnd="@dimen/conversation_message_list_padding" android:paddingEnd="@dimen/conversation_message_list_padding"

View File

@@ -19,7 +19,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fillViewport="true" android:fillViewport="true"
android:background="?android:attr/colorBackgroundFloating" android:background="?android:attr/colorBackground"
android:importantForAccessibility="noHideDescendants"> android:importantForAccessibility="noHideDescendants">
<view class="com.android.settings.TouchBlockingFrameLayout" <view class="com.android.settings.TouchBlockingFrameLayout"