ScrollView with Buttons inside, no response until second click on any button inside

后端 未结 4 676
-上瘾入骨i
-上瘾入骨i 2020-12-13 22:25

I\'ve been a couple of days trying to solve this thing but I can\'t figure it out. The problem is, simple activity, with simple layout, ScrollView -> LinearLayout -> and a l

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 23:05

    I got a situation like this. I have a ExpandableListView, it just behaves normally. When I rotate the cellphone to horizontal, and rotate back, then some items in one group of the ExpandableListView will not responding for click event. Unless I scroll the list view, or click the group item of these items, the event will dispatch to the items I clicked previously, and perform the click listener codes correctly.

    This happened both in android 2.3 and 4.0...

提交回复
热议问题