spinner expanding beyond screen bounds

后端 未结 2 765
遇见更好的自我
遇见更好的自我 2021-01-25 10:01

I have a layout that contains a TableLayout with three rows. Each row has a TextView and a Spinner. The Spinners\' column is set to stretch. My problem is that the Spinners a

相关标签:
2条回答
  • 2021-01-25 10:44

    android:layout_width="100dip" Use this tag in the spinner.

    0 讨论(0)
  • 2021-01-25 10:52

    For the spinner:

    android:layout_weight="1"
    


    This helped me.

    0 讨论(0)
提交回复
热议问题