Home > database >  RecyclerView Clipping Into ScrollView with CornerRadius
RecyclerView Clipping Into ScrollView with CornerRadius

Time:08-10

I have a recycler view inside a linear layout and the linear layout's parent is a scrollview whose background has a corner radius. When you scroll the view the recycler view appears on top of the corners of the scrollview clipping into the view.This is the view without scrolling

Here's the view when you scroll

CodePudding user response:

I see two soutions:

  1. You should add more horizontal padding for your RecyclerView to avoid sharp corners:
  2. You should add fake/artificial inverted blue round corners
  3. Just add padding from top but it is dirty solution
  • Related