Merge "Right to Left mode support for A11yMenu settings page" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9ec2be847d
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user