dansup, I usually achieve this effect by setting the paddings on the scrollable content such that it lines up with the surrounding layout when scrolled all the way to either side. For HorizontalScrollView with a LinearLayout inside, I set the horizontal paddings on the LinearLayout. For RecyclerView, I set the horizontal paddings on it itself and clipToPadding="false".
dansup, I usually achieve this effect by setting the paddings on the scrollable content such that it lines up with the surrounding layout when scrolled all the way to either side. For HorizontalScrollView with a LinearLayout inside, I set the horizontal paddings on the LinearLayout. For RecyclerView, I set the horizontal paddings on it itself and
clipToPadding="false"
.