Android ListView Header Disable Click [duplicate] Android ListView Header Disable Click [duplicate] android android

Android ListView Header Disable Click [duplicate]


You can use addHeaderView(header, null, false). For the header, inflate a view which has your header content with a divider underneath. This view is what I used for the divider.

<View    android:layout_width="fill_parent"    android:layout_height="1px"    android:background="#adaaad" />