android - Why is WebView blocking my ExpandableListView's expansion? -



android - Why is WebView blocking my ExpandableListView's expansion? -

i've been working expandablelistviews before , know checkboxes, buttons, etc.

it essential setfocusable false of these widgets found on xml serve groupview of our list, othervise, clicking on grouping cell not expand group, since these widgets steal focus it.

but, if set webview in groupview, , setfocusable & setfocusableintouchmode false, still not able expand group.

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="91dp" android:background="#ffffff"> <imageview android:layout_width="30dp" android:layout_height="91dp" android:id="@+id/sth_cell_img_correct" android:layout_marginleft="10dp" android:layout_marginright="10dp" android:src="@drawable/icon_checked" /> <webview android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginright="20dp" android:focusable="false" android:focusableintouchmode="false" android:id="@+id/webview2" /> </linearlayout>

but, if remove webview xml, can expand / shrink cells no problem whatsoever.

there must other thing should here. som other attribute should set false, or that, cannot figure out exactly.

does has clue ?

android webview expandablelistview

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -