How can I programmatically span columns in a tablelayout?
I have a dynamic tablelayout that I build programmatically. Every so often开发者_如何转开发 one of the rows has a child SeekBar.
Any suggestions for how I can programmatically make these SeekBars span across all the table columns?
Thanks.
This should get you going in the right direction, it asks Android to manage the column for you and stretch it if there is room on the row.
public void setColumnStretchable(int columnIndex, boolean isStretchable)
Source:
developer.android.com
精彩评论