Warnings about requestLayout() calls |
|||
Issue description
W/View : requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{22fd809 V.ED..... ......ID 56,1438-1440,1530 #7f0d0247 app:id/snippets_list_header} during layout: running second layout pass
W/View : requestLayout() improperly called by android.widget.RelativeLayout{93b2ce6 V.E...C.. ......I. 56,2252-1384,2801 #7f0d0242 app:id/snippets_card_view} during second layout pass: posting in next frame
They should be addressed if possible. By simply disabling these calls, I noticed these issues:
- When scrolling up very quickly, the first card goes entirely below the fold instead of stopping and peeking.
- When discarding snippets, the bottom spacing does not shrink to the necessary minimum. It is possible to scroll way down instead of keeping the first card visible.
Rest seems to behave fine (including the header).
,
Aug 1 2016
The warnings are still there. The issues I described happen only when removing requestLayout() calls from the code, so that never made it to the repo.
,
Aug 2 2016
Ah .. now I understand. Thx for the clarification.
,
Aug 26 2016
,
Dec 5 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by fi...@chromium.org
, Jul 29 2016