MultiLineRadioGroup icon indicating copy to clipboard operation
MultiLineRadioGroup copied to clipboard

Distance between rows

Open biodunalfet opened this issue 8 years ago • 1 comments

How do I increase the distance between the rows?

biodunalfet avatar Jun 19 '17 21:06 biodunalfet

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" />

Gavras avatar Jun 19 '17 22:06 Gavras