moving horizontal view in scollview

Alex68

Member
Licensed User
Longtime User
Hello to all.
sorry for my bad english

I'm starting an application where in a scrollview there are trhee labels. I'd like to move horizontally with my finger dragging this view (for example, from the left side of the screen to the right side and vice versa) and once in the position to receive a value to indicate the shift occurred. I'm looking in various forums but I have not been able to find anything.
can anyone help me?

hello
 

Alex68

Member
Licensed User
Longtime User
Hello and thank you for the quickly response.

my problem is not to sliding the entire scollview, but the individual label inside the scrollview. The effect that I want to achieve is like what happens in iphone (sorry) when you have to answer a call

thanks
 
Upvote 0

Alex68

Member
Licensed User
Longtime User
Hello Erel
the goal is to sliding a label or button present in a scrollview from side to side like when Android is 'wake' from the stand-by, but not applied to the whole screen but applaied to the individual buttons or labels inside of a scollview.
The button or label must to be dragged from left to right and when you reach the position must stop . 'Of course, should not be able to stop in any position, but only on right or left.
and once it reaches the position right or left must be able to generate an event that I somehow can read (for example, when from left to right is dragged I get a msgbox with "view in place .....").
everything applicable to all the view inside the scrollview.

see attached

by
 

Attachments

  • Image1.jpg
    Image1.jpg
    28.4 KB · Views: 250
  • image2.jpg
    image2.jpg
    28.8 KB · Views: 253
Upvote 0

Alex68

Member
Licensed User
Longtime User
hi Erel

it is possible to have a little example thet use thi class. You know I e beginner

thanks
 
Upvote 0
Top