Rows don't render properly in Android Layout. Buttons seem to be the problem

前端 未结 3 1133
栀梦
栀梦 2021-01-26 04:26

I am new to Android Development and I am having trouble with my XML Layout... when I inly have rows with text and edittext the layout stays ok, but once I put the row with the b

3条回答
  •  余生分开走
    2021-01-26 04:55

    I think you either need to

    1. Set your TableLayout's layout_height and layout_width to fill_parent, or
    2. Wrap the TableLayout inside a ScrollView.

    I might be wrong since I'm not very familiar with TableLayouts, but these would be my guesses.

提交回复
热议问题