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

Commit 9ec2be84 authored by Daniel Norman's avatar Daniel Norman Committed by Android (Google) Code Review
Browse files

Merge "Right to Left mode support for A11yMenu settings page" into udc-dev

parents 33372bf0 6d123d1f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -24,7 +24,9 @@ import android.net.Uri;
import android.os.Bundle;
import android.provider.Browser;
import android.provider.Settings;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentActivity;
import androidx.preference.Preference;
import androidx.preference.PreferenceFragmentCompat;
@@ -56,6 +58,13 @@ public class A11yMenuSettingsActivity extends FragmentActivity {
            initializeHelpAndFeedbackPreference();
        }

        @Override
        public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
            super.onViewCreated(view, savedInstanceState);
            view.setLayoutDirection(
                    view.getResources().getConfiguration().getLayoutDirection());
        }

        /**
         * Returns large buttons settings state.
         *