layout - Android ExpandableListView not showing -
so have expandablelistview
in layout, reason showing part of when run app. yes, it's "some" part - enture first groupview
.
if set fixed height list @ android:layout_height="some dp"
, instead of android:layout_height="match_parent"
can see whole list. but, if have many group view's , child view's, again, can see part of (as height fixed).
i've tried put expandable list inside linearlayout
, have tried set android:layout_height="wrap_content"
, , on, without success.
how can solve this?
thank you,
<?xml version="1.0" encoding="utf-8"?> <!-- that's main layout.--> <scrollview xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_view_m" android:layout_width="match_parent" android:layout_height="match_parent"> <!-- linearlayout here because scrollview can have 1 child view.--> <linearlayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <!-- that's second scrollview. 1 horizontal.--> <horizontalscrollview android:id="@+id/map_layout" android:layout_width="match_parent" android:layout_height="400dp"> <!-- linearlayout here because scrollview can have 1 child view.--> <linearlayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <!-- view's here --> </linearlayout> </horizontalscrollview> <textview android:id="@+id/scroll_down" android:text="scroll down see marker info!" android:layout_width="match_parent" android:layout_height="wrap_content" android:textcolor="@android:color/holo_green_light" android:background="@android:color/black"/> <expandablelistview android:id="@+id/m_expandable_list_view" android:layout_width="match_parent" android:layout_height="match_parent"> </expandablelistview> </linearlayout> </scrollview>
Comments
Post a Comment