aspose file tools*
The moose likes Android and the fly likes Moving an Image Bitmap In a specified path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Moving an Image Bitmap In a specified path" Watch "Moving an Image Bitmap In a specified path" New topic
Author

Moving an Image Bitmap In a specified path

Pradyumna Sahoo
Greenhorn

Joined: Feb 27, 2013
Posts: 22
I have a list view in which there are image views , what I want is whenever the view(the green cart as shown in the image ) is clicked the bitmap should move in a specified path(as shown by black line it's an arc). I have tried to explain it by uploading an image(Please Click the link). Anyone please help with some code or link. Thanks for your time and consideration.



Note: I am pretty clear about how to work with list view or custom list view. Your answer should only focus on the animation part.
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

Android Developer's Network has a YouTube channel with a DevBytes playlist which has several animation videos. I think the one that closest matches your needs is the Curved Animation one:
.
There is an associated blog with it, which is found here: http://graphics-geek.blogspot.com/2012/01/curved-motion-in-android.html.


Steve
Pradyumna Sahoo
Greenhorn

Joined: Feb 27, 2013
Posts: 22
Actually the image itself won't move , a copy of that image(bitmap) will move , it's like dropping effect.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Moving an Image Bitmap In a specified path