* commit 'c43506fc2dbe3fea6885e74ac8c67b91a0a644ff': Fix layout mirroring. [DO NOT MERGE]
This commit is contained in:
@@ -131,6 +131,7 @@ class Layout extends RelativeLayout {
|
|||||||
HardwareConfig hwConfig = getParams().getHardwareConfig();
|
HardwareConfig hwConfig = getParams().getHardwareConfig();
|
||||||
Density density = hwConfig.getDensity();
|
Density density = hwConfig.getDensity();
|
||||||
boolean isRtl = Bridge.isLocaleRtl(getParams().getLocale());
|
boolean isRtl = Bridge.isLocaleRtl(getParams().getLocale());
|
||||||
|
setLayoutDirection(isRtl? LAYOUT_DIRECTION_RTL : LAYOUT_DIRECTION_LTR);
|
||||||
|
|
||||||
NavigationBar navBar = null;
|
NavigationBar navBar = null;
|
||||||
if (mBuilder.hasNavBar()) {
|
if (mBuilder.hasNavBar()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user