am 8c674fda: Fix layout mirroring. [DO NOT MERGE]
* commit '8c674fda8939c2d30f85e0341b70d9f3edd04d6c': 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