Loading core/java/com/android/internal/app/LocalePickerWithRegion.java +8 −0 Original line number Diff line number Diff line Loading @@ -158,6 +158,14 @@ public class LocalePickerWithRegion extends ListFragment implements SearchView.O setListAdapter(mAdapter); } @Override public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); // In order to make the list view work with CollapsingToolbarLayout, // we have to enable the nested scrolling feature of the list view. getListView().setNestedScrollingEnabled(true); } @Override public boolean onOptionsItemSelected(MenuItem menuItem) { int id = menuItem.getItemId(); Loading Loading
core/java/com/android/internal/app/LocalePickerWithRegion.java +8 −0 Original line number Diff line number Diff line Loading @@ -158,6 +158,14 @@ public class LocalePickerWithRegion extends ListFragment implements SearchView.O setListAdapter(mAdapter); } @Override public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); // In order to make the list view work with CollapsingToolbarLayout, // we have to enable the nested scrolling feature of the list view. getListView().setNestedScrollingEnabled(true); } @Override public boolean onOptionsItemSelected(MenuItem menuItem) { int id = menuItem.getItemId(); Loading