Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7e0bcd8 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

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
parent 809bb404
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3383,7 +3383,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        }

        if (child.isLayoutDirectionInherited()) {
            child.resetResolvedLayoutDirection();
            child.resetRtlProperties();
            child.resolveRtlPropertiesIfNeeded();
        }