Skip to content

当我设置setTouchable(false)时,能否让单一个可见的View仍然响应点击事件? #514

@q88qaz

Description

@q88qaz

提issue前请去WIKI#常见问题查询相关问题,避免重复提问
Please go to WIKI#FAQ for relevant questions before commit your issue to avoid repetitive questions.

提issue前请务必参考以下格式填写,否则该问题会被直接关闭。
Please be sure to follow the format below before submitting the issue, otherwise the question will be actively closed!
系统版本(必须)/ System version (required):安卓10

库版本(必须)/ Library version (required):Master 3.2.0

问题代码/截图(可选)/ Problem code or screenshot (optional):
===>以下是我设置的方法
setBackPressEnable(true);
setOutSideTouchable(true);
setTouchable(false);
通过这样的操作让popup只是展示作用,但是希望能让其中的一个view继续响应点击事件,而非透传点击,能实现吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions