LinearListView icon indicating copy to clipboard operation
LinearListView copied to clipboard

divider padding / thicknes doesn't work

Open cesards opened this issue 10 years ago • 2 comments

I'm using your LinearListView as HorizontalListView.

the library is not taking the divider padding:

<com.linearlistview.LinearListView
            android:id="@+id/details_product_list"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_gravity="center"
            android:clipToPadding="false"
            android:divider="@null"
            android:gravity="center"
            android:orientation="horizontal"
            android:dividerPadding="@dimen/margin_medium"
            custom:dividerThickness="@dimen/margin_medium"/>

Thanks!!

cesards avatar Jun 19 '14 09:06 cesards

I use layout_marginRight on list item to solve it.

qq157755587 avatar Jun 23 '14 09:06 qq157755587

Set dividerThickness is programmatically, like this youLinerListView.setDividerThickness(50)

edward1988 avatar Jun 07 '18 21:06 edward1988