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

前端 未结 7 1474
深忆病人
深忆病人 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:35

    I was having the same problem. My items in the sliding drawer weren't able to gain focus. After trying several different things, I discovered that I had a placed in the sliding drawer between the tag and the Linear Layout that had the contentLayout.

    Once I removed it everything work fine.

    
        
    
            **MOVED**  **TO**
        
             **HERE**
    

    I hope this helps someone.

提交回复
热议问题