user1103193
user1103193

Reputation: 1

How to move an image(type png) in both directions on touch in android

I want to rotate a png image on LinearLayout when the user drag that image in left or right direction.

Any ideas?

Upvotes: 0

Views: 259

Answers (1)

Tofeeq Ahmad
Tofeeq Ahmad

Reputation: 11975

You can use SurfaceView or View class to achieve this task go through below link :

http://android-er.blogspot.com/2010/05/android-surfaceview-run-in-thread-with.html

http://developer.android.com/reference/android/view/SurfaceView.html

Upvotes: 1

Related Questions