I am trying to add Padding / Margin Bottom in the last row and Padding / Margin Top in the front row. I can not do this in the xml element, as this will affect all my children.
The RecyclerView adapter has headers and children, so I can't use
android:padding="4dp" android:clipToPadding="false"
I need to use it separately in the last first line of each header
android padding android-recyclerview
RedEagle Nov 17 '15 at 10:20 2015-11-17 10:20
source share