Drag and drop of ImageView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Drag and drop of ImageView

Postby rockerboy » Tue Nov 24, 2009 12:57 am

Hi,

I saw this tutorial for drag and drop. However I saw that this uses a class DrawView that is a subclass of View that uses a ColorBall for its bitmap. However, I want to know if this is possible without subclassing View and doing setNewContextView(new DrawView()) as is done in the tutorial? I cannot do this since I have more than one ImageView in my activity (as well as buttons etc). However I just want to move one particular ImageView in my activity.

Also currently I'm not able to do setX() or setY() to move the image around as is done in the tutorial for ColorBall.

I hope I was clear in explaining my problem. Any suggestions please?

Thanks in advance.
rockerboy
Freshman
Freshman
 
Posts: 8
Joined: Sat Nov 14, 2009 3:27 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests