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:
@@ -80,7 +80,7 @@ public class DreamSettings extends SettingsPreferenceFragment {
|
||||
activity.getActionBar().setCustomView(mEnableSwitch, new ActionBar.LayoutParams(
|
||||
ActionBar.LayoutParams.WRAP_CONTENT,
|
||||
ActionBar.LayoutParams.WRAP_CONTENT,
|
||||
Gravity.CENTER_VERTICAL | Gravity.RIGHT));
|
||||
Gravity.CENTER_VERTICAL | Gravity.END));
|
||||
activity.getActionBar().setTitle(R.string.screensaver_settings_title);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user