Android SlidingDrawer doesn't disable buttons 'under' the drawer

前端 未结 7 1505
深忆病人
深忆病人 2021-01-01 14:15

This is the scenario: I have a button B, and a slidingdrawer that when pulled out covers the entire screen. When I pull out the screen, and touch the screen where B used to

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-01 14:30

    you could add android:clickable="true" to your slider content tag (id reportContent). that way it won't "click through". your buttons inside the slider should still work.. i hope ;)

提交回复
热议问题