Featured post
android - How to animate Bitmap on Surface view onDraw()? -
i trying make game. try use gridview wonder how can drag item ontouchevent(). found example http://www.droidnova.com/playing-with-graphics-in-android-part-ii,160.html
it great example. cropped image in 12 small image bitmap. display them on screen randomly on specific position. overriding ontouchevent() got requirement. want animate image "swap" other image animating. have both images x,y location. wondring if can done animation class.so should not put effort doing manually. know not hard job. animation class can more smoothly. have arrayofimages(bitmap) , want swap 2images animation. using thread update "canvas" in background. please me. . more thing. how can add scroll view surface holder?? possible? because think when try drag image , not drag , active scrollbar response?
finally using loop specific x,y specific x,y while updating canvas. although not efficient way.
- Get link
- X
- Other Apps
Comments
Post a Comment