Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class OverlapDecoration extends RecyclerView.ItemDecoration {
- private final static int vertOverlap = -90;
- @Override
- public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
- outRect.set(0, vertOverlap, 0, 0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement