Skip to content

Commit a7e0bcd

Browse files
author
Fabrice Di Meglio
committed
Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow
- when adding a View to a ViewGroup reset all RTL properties of the View to be added instead of only resetting its layout direction Change-Id: Idfa3acce1700c52e20ebfd4c9c4f4ecb3c1d7520
1 parent 809bb40 commit a7e0bcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/java/android/view/ViewGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3383,7 +3383,7 @@ private void addViewInner(View child, int index, LayoutParams params,
33833383
}
33843384

33853385
if (child.isLayoutDirectionInherited()) {
3386-
child.resetResolvedLayoutDirection();
3386+
child.resetRtlProperties();
33873387
child.resolveRtlPropertiesIfNeeded();
33883388
}
33893389

0 commit comments

Comments
 (0)