Make Settings app aware of layout direction
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
This commit is contained in:
@@ -575,7 +575,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
|
||||
activity.getActionBar().setCustomView(toggleSwitch,
|
||||
new ActionBar.LayoutParams(ActionBar.LayoutParams.WRAP_CONTENT,
|
||||
ActionBar.LayoutParams.WRAP_CONTENT,
|
||||
Gravity.CENTER_VERTICAL | Gravity.RIGHT));
|
||||
Gravity.CENTER_VERTICAL | Gravity.END));
|
||||
return toggleSwitch;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user