Margin/padding in last Child in RecyclerView

前端 未结 9 976
醉话见心
醉话见心 2021-01-30 05:56

I\'m trying to add Padding/Margin Bottom in the last row and Padding/Margin Top in the first row. I can not do it in the item xml as it would affect all of my Children.

I

9条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 06:21

    Add android:clipToPadding="false" and android:paddingBottom="65dp" in your recyclerview. If you are using fab menu button and actions on recycler view cell.

    
    

提交回复
热议问题