hi,

I read a picture from file
and I want buttons in front .
but the pic is in front and can't see the buttons.
how can I change it?

my code

File imageFile = new File("/sdcard/hacFiles/"+picName +".png");
if(imageFile.exists())
{
Bitmap myBitmap = BitmapFactory.decodeFile(imageFile.getAbsolutePath());
ImageView myImage = (ImageView) findViewById(R.id.imageView1);
myImage.setImageBitmap(myBitmap);
}
else
{
System.out.println("problem in file");
}


in addition I try to set an image to button in the same way (by reading from file) and I don't know I to write it
-- I have an Error in the last line
my code
File imageFile = new File("/sdcard/hacFiles/"+picName +".png");
if(imageFile.exists())
{
Bitmap bmp = BitmapFactory.decodeFile("/sdcard/hacFiles/"+picName +".png");
BAction =(Button) findViewById(R.id.ButtonIcon);
BAction.setImageBitmap(bmp);
}

Please help me
kineret