Hi CMF,
check this..
http://smartandroidians.blogspot.com/2010/02/animation-through-bitmap.html
On Feb 25, 10:25 pm, social hub shubem...@gmail.com wrote:
In your case you are extending view
however if you use built in views or even your view which holds just the
image.
then u can
Hi, do you have an explicit example? I don't know what are the
relationships between the BitmapAnimation View , the main class and
the Drawable class..
On Feb 25, 1:09 pm, Nithin nithin.war...@gmail.com wrote:
Create a class BitmapDrawable which extends Drawable and pass the
bitmap to the
In your case you are extending view
however if you use built in views or even your view which holds just the
image.
then u can setanimation and startanimation
TranslateAnimation animation = new TranslateAnimation(
Animation.RELATIVE_TO_PARENT, 0.0f,
Create a class BitmapDrawable which extends Drawable and pass the
bitmap to the contructor. Then in draw() , draw the bitmap. Create the
object of the BitmapDrawable class and add the object to the
AnimationDrawable using addFrame()and set the duration in
milliseconds(how much time you need to
4 matches
Mail list logo