Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ee60270 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix overlapping issue for Add a language page"

parents a18933a2 28195f52
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.settings.localepicker;
package com.android.settings.localepicker;


import android.app.FragmentTransaction;
import android.app.FragmentTransaction;
import android.app.ListFragment;
import android.content.Intent;
import android.content.Intent;
import android.os.Bundle;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.MenuItem;
@@ -47,6 +48,14 @@ public class LocalePickerWithRegionActivity extends SettingsBaseActivity
                .commit();
                .commit();
    }
    }


    @Override
    protected void onStart() {
        super.onStart();
        final ListFragment listFragment =
                (ListFragment) getFragmentManager().findFragmentById(R.id.content_frame);
        listFragment.getListView().setNestedScrollingEnabled(true);
    }

    @Override
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
    public boolean onOptionsItemSelected(MenuItem item) {
        if (item.getItemId() == android.R.id.home) {
        if (item.getItemId() == android.R.id.home) {