traex / ExpandableLayout

Implementation of ExpandableListview with custom header and custom content.
MIT License
1.64k stars 361 forks source link

ExpandableLayout with empty headerLayout ? #54

Open DaRolla opened 8 years ago

DaRolla commented 8 years ago

Hi there,

I needed an ExpandableLayout which is triggered by an CheckBox and NOT by its header.

So I am searching for the smallest header.

Leaving the field empty or setting it to @null won't work.

This is my smallest "almost invisible" header:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="1px">

    <View
        android:layout_width="1px"
        android:layout_height="1px"/>

</RelativeLayout>

I'd like this to be fixed...

Greetings, DaRolla