HorizontalScrollView Menu for Android -


I have a menu that is made up of a horizontal scroll view that has a linear layout with text attributes. When a user scrolls / scales, I want to be able to show and show a leading and following image which shows that there are more options. Therefore, the image on the left does not show up when the application starts, but not the correct image yet. Once the user swipe to go right, the left image is visible till now. When you get the last last option on the right, the correct image goes away.

I have tried to use SimpleAnger Listener but it seems that the reported status is that the list instead of user status. I was thinking that I could do something like this:

if (scrollX <200.0) {tempL.setVisibility (see .invisible); } Other tempL.setVisibility (see Visual.);

I have also implemented both the flow and on scroll methods to try, but they have not received the expected results. In addition, the situation is only reported when the user re-scrolls, therefore a tilt position can be 1278 and goes all the way up to 0 but not reported till 0 until the user re-rotates Does not try

Thank you.

You can use the gallery for this. It has some limitations, but I think it better than your horizontal scroll view.


Comments