Floating Action Button does not responds when it clicked/touched

前端 未结 2 1246
小鲜肉
小鲜肉 2020-12-14 22:09

I am using a floating action button(FAB) in my application to show Dialogs, everything is worked just fine when I tested my app in Xperia Z with Lopllipop 5.1.1.
However

2条回答
  •  长情又很酷
    2020-12-14 23:01

    The problem in here is that I declared the FAB before the declaration of listView. Somehow by relocating the declaration of FAB after the the declaration of listView it will solved the problem.
    From:

    
    
    

    To:

    
    
    

    Just as simple as that.

提交回复
热议问题