List item with button not clickable anymore

后端 未结 6 1327
再見小時候
再見小時候 2021-02-02 12:23

I have a list item with a button inside.

When the button is shown, the list item is not clickable anymore. To make it clickable again, I have replaced the button with a

6条回答
  •  忘掉有多难
    2021-02-02 12:59

    You can try this:

                 yourButton.setFocusable(false);
                 yourButton.setFocusableInTouchMode(false);
    

提交回复
热议问题