Hi ,
Consider a expandable listview with two parent item Parent_1 and
Parent_2 . Each item have some child item.
--------------------------
> Parent_1
--------------------------
> Parent_2
--------------------------
if Parent is in collapsed state i want to show a view(for example a
TextView) down that parent
--------------------------
> Parent_1
--------------------------
TextView
-------------------------
> Parent_2
--------------------------
TextView
--------------------------
if Parent is in expanded state the textView should be in gone state
and corresponding child items is showned
---------------------------
v Parent_1
---------------------------
child items.....
--------------------------
> Parent_2
--------------------------
TextView
--------------------------
I got a alternate solution by creating two expandable listview with 1
parent item each. and a textview down to each expandable listview. so
when fexpandable listview expand/collapse i make corresponding
textview gone/visible. But problem is i want to scroll both expandable
listviews and textviews as a one unit .for that i used scrollview as
follow:
<ScrollView>
<ExpandableListView/>
<TextView/>
<ExpandableListView/>
<TextView/>
</ScrollView>
But am not getting expected scroll behaviour. I know above approach is
not proper as listview should not be contained inside scrollview .
Is there any better solution for this problem . please share your
valuable suggestion and help me.
Thanks and regards
Mansoor V.M
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en