MultiLineRadioGroup
MultiLineRadioGroup copied to clipboard
Distance between rows
How do I increase the distance between the rows?
Look at getTableLayout() and getTableRow(). You can there override and change the layout of the row and table as you like.
/**
* Returns the table row to set in this layout.
*
* @return the table row
*/
protected TableRow getTableRow() {
return (TableRow) LayoutInflater.from(getContext())
.inflate(R.layout.table_row, mTableLayout, false);
}
Right now it uses a simple defualt layout for the row: table_row.xml:
<?xml version="1.0" encoding="utf-8"?>
<TableRow xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/multi_line_radio_group_default_table_row"
android:layout_width="match_parent"
android:layout_height="wrap_content" />