Removing delimiter after footer in ListView

How to remove ListView delimiter after ListView footer? Using android:footerDividersEnabled="false" removes the delimiter after the last element of my ListView, but not after the ListView footer ...

thanks

+6
source share
2 answers

This worked for me, do android:layout_height="wrap_content" ListView.

Here is my ListView xml

 <ListView android:id="@id/android:list" android:layout_width="fill_parent" android:layout_height="wrap_content" android:cacheColorHint="@color/transparent" android:divider="@color/list_divider" android:dividerHeight="1dp" android:fadeScrollbars="true" android:focusable="true" android:footerDividersEnabled="true" android:scrollbars="none" android:transcriptMode="alwaysScroll" /> 
+8
source

Change the size of the footer to 0px or set the visibility to GONE

0
source

Source: https://habr.com/ru/post/900786/


All Articles