开发者

Adding a button to the ExpandableListView Group item

开发者 https://www.devze.com 2023-03-09 04:53 出处:网络
I am customizing an ExapndableListView,, I am trying to add a Button to the Group Item,, The problem is that if the button is focussablethe group does\'t expand on click. I want the group to expand

I am customizing an ExapndableListView,, I am trying to add a Button to the Group Item,,

The problem is that if the button is focussable the group does't expand on click. I want the group to expand normally and the button to be clicked normally.

Anybody knows how I cou开发者_开发知识库ld accomplish that?


Set the button not focusable. button.setFocusable(false)

This should to the job.

0

精彩评论

暂无评论...
验证码 换一张
取 消