From 87ef94e9f2409ec1b14a7e1dc30fc4c2e8b332fc Mon Sep 17 00:00:00 2001 From: Arc Wang Date: Tue, 11 Jan 2022 15:40:25 +0800 Subject: [PATCH] Make 'Format as portable' scrollable ScrollView can't work within CoordinatorLayout, replace it with NestedScrollView. Bug: 213559304 Test: manual 1. Create virtual disk by below command. adb shell sm set-virtual-disk true 2. Settings -> Storage -> select the virtual disk. 3. Format it as Phone storage. 4. Click option menu -> Format as portable. Change-Id: Ie5e51fb3c52431e1c94c2bcaaeb88fc05dfc993d --- res/layout/storage_internal_format.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/layout/storage_internal_format.xml b/res/layout/storage_internal_format.xml index 08434b0beed..0b49d7e1660 100644 --- a/res/layout/storage_internal_format.xml +++ b/res/layout/storage_internal_format.xml @@ -20,7 +20,7 @@ android:layout_height="match_parent" android:orientation="vertical"> - @@ -35,7 +35,7 @@ android:lineSpacingExtra="@dimen/sud_description_line_spacing_extra" android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" android:textColor="?android:attr/textColorPrimary" /> - +