Dynamically adjust the height of group headers in an ExpandableListView?

Could not solve the problem directly. Added the following to the xml layout file of the group: android:paddingTop="7dip" android:paddingBottom="7dip That makes the layout looking much less congested which is what I wanted to do in the first place. Moving on - but would be interested if someone else have a better solution.

Could not solve the problem directly. Added the following to the xml layout file of the group: android:paddingTop="7dip" android:paddingBottom="7dip" That makes the layout looking much less congested which is what I wanted to do in the first place. Moving on - but would be interested if someone else have a better solution.

Each item in this ListView has an ExpandableListView, with related adapter. In the beginning, there are just two items in the ListView, and all the expandable listview is not expanded. At this time, the ListView's height is not larger than the screen's height(suppose the screen's height is 800, and the ListView's height is 600.

There is a blank area with height 200 below the ListView). Then I click the expandable listview in the first item, the expandable list view is expanded. However, the ListView's height is not changed (the blank area is still there).

Is there a method to adjust the listview's height so that the blank area could be removed when I click to expand the expanable list view?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions