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
Post a Comment