Resolve ListView children\'s RTL properties when added

am: 4d827aafad

Change-Id: I7ec85d33656cd1c7246c844e87143dcf3f4af57d
This commit is contained in:
Yigit Boyar
2016-07-22 02:26:58 +00:00
committed by android-build-merger

View File

@@ -2050,6 +2050,8 @@ public class ListView extends AbsListView {
p.recycledHeaderFooter = true;
}
addViewInLayout(child, flowDown ? -1 : 0, p, true);
// add view in layout will reset the RTL properties. We have to re-resolve them
child.resolveRtlPropertiesIfNeeded();
}
if (needToMeasure) {