Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to put two ExpandableListViews in a one RelativeLayout for a Navigation drawer. I did something like this. But its not working...Only the first one and the TextView are showing, not the second ExpendableListView.

Can you tell me the way to do.

HTML
<RelativeLayout
        android:layout_width="240dp"
        android:layout_gravity="start"
        android:layout_height="match_parent"
        android:removed="#ffffff"
        android:layout_weight="1">
        
                <ExpandableListView
                    android:id="@+id/lvExp"
                    android:layout_height="wrap_content"
                    android:layout_width="wrap_content"/>
                <TextView
                    android:id="@+id/textView1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentBottom="true"
                    android:layout_below="@+id/lvExp"
                    android:layout_centerHorizontal="false"
                    android:text="TextView" />

                <ExpandableListView
                    android:id="@+id/lvExp1"
                    android:layout_height="wrap_content"
                    android:layout_width="wrap_content"
                    android:layout_alignParentBottom="true"
                    android:layout_below="@+id/textView1"/>
    </RelativeLayout> 


Thanks...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900