Why does LinearLayout child getWidth method return 0?

前端 未结 3 1598
死守一世寂寞
死守一世寂寞 2020-12-07 04:08

I have a LinearLayout, and this LinearLayout will hold dynamically placed views. I need to find out what the width of the children of LinearLayout, however this has to be do

3条回答
  •  不知归路
    2020-12-07 05:10

    https://stackoverflow.com/a/3594216/1397218

    So you should somehow change your logic.

提交回复
热议问题