Floating Action Button blocking other components

后端 未结 6 2333
粉色の甜心
粉色の甜心 2021-02-19 01:41

The new Material Design of Google recommends to use floating action buttons to draw attention to the user for the main action on that screen. There are quite a lot of examples o

6条回答
  •  悲哀的现实
    2021-02-19 02:41

    I just do what I think the Google Gmail app is doing and add padding to the RecyclerView (or ListView). Remember to set clipToPadding to false so that the RecyclerView behaves correctly when it is inside a CoordinatorLayout.

    
    

提交回复
热议问题