[i18n] Use Framelayout instead of Nest scroll

Bug: 274538667
Test: local test
Change-Id: I2a6917a639ac6ba987df425d8974f9d51487a41f
This commit is contained in:
Zoey Chen
2023-04-07 16:18:48 +00:00
parent fbe85872b3
commit 4800801661
2 changed files with 7 additions and 6 deletions

View File

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

View File

@@ -329,6 +329,7 @@ public class LocaleListEditor extends RestrictedSettingsFragment {
list.setLayoutManager(llm);
list.setHasFixedSize(true);
list.setNestedScrollingEnabled(false);
mAdapter.setRecyclerView(list);
list.setAdapter(mAdapter);