Android horizontalscrollview center lock


Staff member
How can we implement center-locking while scrolling with a horizontalscrollview

I already saw this
<a href="" rel="nofollow"></a>
but it's not what I need, I need auto center-lock

I have a scrollview with 3 different layouts(1st: whole width, 2nd: whole width, 3rd: half screen) , also I tried with gallery but I can't remove the space at the left and right side,

thank you