Change ScrollView to NestedScrollView for language list

After enabling collapsing toolbar, ScrollView is not working with
CoordinatorLayout. So we need to update it to NestedScrollView to make
it work with CoordinatorLayout.

Bug: 181737215
Test: visual verified
1) Settings -> System -> Languages & input -> Languages
2) Add 6-8 languages to the list
3) Scrolling the list to see if it's smooth

Change-Id: Id47dfc225585ddd4469838ff0898495cda3f6c44
This commit is contained in:
Mill Chen
2021-03-05 22:52:55 +08:00
parent 61aa289dac
commit 256c8501c0

View File

@@ -14,7 +14,7 @@
limitations under the License.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layoutDirection="locale"
@@ -48,4 +48,4 @@
</LinearLayout>
</ScrollView>
</androidx.core.widget.NestedScrollView>