How to click views behind a Toolbar?

前端 未结 4 1074
长发绾君心
长发绾君心 2021-01-04 07:09

I have a toolbar with a transparent/translucent background that overlays the content. So, behind the toolbar, views can appear that are clickable. The problem is that they c

4条回答
  •  悲哀的现实
    2021-01-04 07:27

    Easier answer would be just :

    toolbarV?.isClickable = false
    toolbarV?.isFocusable = false
    

提交回复
热议问题