[i18n] Use Framelayout instead of Nest scroll
Bug: 274538667 Test: local test Change-Id: I2a6917a639ac6ba987df425d8974f9d51487a41f
This commit is contained in:
@@ -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>
|
||||
|
@@ -329,6 +329,7 @@ public class LocaleListEditor extends RestrictedSettingsFragment {
|
||||
list.setLayoutManager(llm);
|
||||
|
||||
list.setHasFixedSize(true);
|
||||
list.setNestedScrollingEnabled(false);
|
||||
mAdapter.setRecyclerView(list);
|
||||
list.setAdapter(mAdapter);
|
||||
|
||||
|
Reference in New Issue
Block a user