0

I am using HorizontalScrollView to display list of items to user. I want to make two buttons at both ends of list to indicate if there are items remaining on its respective side. So the button must disappear after end of the list is reached on its side. How to invoke this type of behavior in button.

user3265443
  • 535
  • 1
  • 8
  • 25

1 Answers1

0

You can use AlphaAnimation

just set the Animation on the Button and start it when u reach the end

AlphaAnimtion Example

Update :

ScrollView Reference

Community
  • 1
  • 1
  • But my buttons and HorizontalScrollView are two different views. How do I pass a message to buttons each time when a scrolling take place in HorizontalScrollView? – user3265443 May 01 '14 at 21:40
  • 1
    do u want the arrows to disappear when u reach the last item or something else? –  May 01 '14 at 21:53