Do make the scrollable things extend to the edges of the screen though. That clipping looks odd. Or, if you can't, do this:
Top-level
Do make the scrollable things extend to the edges of the screen though. That clipping looks odd. Or, if you can't, do this: 4 comments
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 |
@grishka Oh yeah, great point!
Will eliminate the right margin so they extend to the edge of the screen.