Android Question Determine XpandedList content height

Pedro Caldeira

Active Member
Licensed User
Longtime User
Hello All,

How can I get the height of all the itens inside an expanded list, so I can auto adjust its expandedsize ?
Just a note. I have panels as elements of the list with other views inside, labels, buttons, etc.
I just want to get the height of the main panels. Is it possible ?

Thanks
 
Last edited:

Mahares

Expert
Licensed User
Longtime User
What is XpandedList? I recommend you to use CLVExpandable + CLV.
I am pretty sure that's what the OP meant: CLVExpandable. But this is a common case where the terminology is manipulated and sometimes distorted which makes it difficult to make accurate searches when everyone creates their own rules instead of trying to comply by a set of terminology. But it is best to wait and see what he meant.
 
Upvote 0

Pedro Caldeira

Active Member
Licensed User
Longtime User
Yes, but the problem is that the calculation work well in some devices, others no.
In some, I get the height to perfectly accommodate all the item inside, other I get lots of extra empty space, and in others I cant see some items as the ExpandedListView cannot show them all.
 
Upvote 0

Pedro Caldeira

Active Member
Licensed User
Longtime User
Ok, It seems to be a device problem. With the same height I get all the item in some smartphones, but in others, the expandedListview in expanded mode does not shows them all.
 
Upvote 0
Top