+2
−4
+8
−8
Loading
ExpandableLayout needs to iterate through all items until the one set as the limit of the collapsible menu and accumulate the distance. It adds the items height and margins but also erroneously the padding. Stop counting the padding if height is counted. Height contains any vertical padding set.