2

i have an Activity whitch holds an image. my goal is to draw and move a second image over the first one performance is not important; which is the simplest and easyst way to create this ?

ImageView img = (ImageView) findViewById( R.id.imageView1 ); Bitmap b = BitmapFactory.decodeResource(getResources(), R.drawable.battery_horizontal_80percent );

Canvas c = new Canvas(b);
img.draw(c);

this code wont work :\

thanks !

erwin
  • 41
  • 1
  • 4

0 Answers0