forked from mozilla-mobile/android-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup - Don't count item padding in ExpandableLayout
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.
- Loading branch information
1 parent
b4e2368
commit 5b3677a
Showing
2 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters