Layout definition. “You must supply a layout_width attribute.”

前端 未结 7 1707
陌清茗
陌清茗 2020-12-16 10:27

I\'m developing a little android app, and I\'m having a problem with a layout, I been trying to find the error in my xml, but I couldn\'t find it...

The error I\'m

7条回答
  •  Happy的楠姐
    2020-12-16 11:06

    In my case i forgot to put the layout_width attribute to a TableLayout.

    It's a bit confusing beacuse the TableRow which is a child of TableLayout does not require a layout_width so I ran in this issue ...

提交回复
热议问题