Open desmond1121 opened 8 years ago
Thanks for reporting the issue. I'll look into it this week and try to find a workaround because it would be hard to ask every library user to update their layouts :(
Yes, it is. You can just take padding property value by content's attributes, and apply it in your
it in your onLayout()
:)
I've noticed that you handle bottom padding in scroll back. That would cause much time in "measure". I catched a systrace of your "scroll back":
trace
I understand why you need this logic,
View.offsetTopAndBottom
would destroy the bottom padding. But this not handled in scroll down yet. Actually, you can notify user to set padding in parent layout such as following code, and handle padding logic inonLayout()
ofPullToRefreshView
.