GridLayout spitting out “inconsistent constraint” debug-level logs

前端 未结 4 1943
忘掉有多难
忘掉有多难 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:40

    I had the same issue and I found that I missed to add XML namespace. Corrected it in this way:

    
    ...
    
    

    Then changed prefix of attributes used by compatibility GridLayout with XML namespace too:

    
    

    and it helped... Hope it helps you too.

提交回复
热议问题