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