How to disable behind view click event Framelayout

前端 未结 9 1314
遥遥无期
遥遥无期 2020-12-04 20:53

Here i have one view pager activity which has one imageview and 2 overlay bars. there overlay bars i made using android xml file layout itself.

Here my requirement i

9条回答
  •  自闭症患者
    2020-12-04 21:17

    just add this to each of your framelayout view containers so that absorb the click:

      android:clickable="true"
        android:focusable="true"
        android:focusableInTouchMode="true"
    

提交回复
热议问题