GridLayout spitting out “inconsistent constraint” debug-level logs

前端 未结 4 1930
忘掉有多难
忘掉有多难 2021-01-01 11:30

I\'ve been using GridLayout for a few weeks now and I\'ve noticed that when I call

gridLayout.requestLayout()

it spits out the following de

4条回答
  •  感情败类
    2021-01-01 11:49

    I made the issue go away by using wrap_content for the GridLayout's width instead of match_parent, I guess it is one less constraint for it to worry about.

提交回复
热议问题