android - ExpandableListView, how to set the child height? -


i'm trying set expandablelistview item (viewgroup) height. can set via xml (i don't need divider height):

<expandablelistview     android:id="@+id/lvexp"     android:layout_height="match_parent"     android:layout_width="match_parent"/> 

or should used method, manipulating convertview:

    @override public view getgroupview(int groupposition, boolean isexpanded, view convertview,                          viewgroup parent) { ... } 

thanks in advance.

listview child views can different heights, don't set one-size-fits height in listview's xml. rather can set specific height in each of different convertview xml's inflating.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -