my code is this
 ll.setBackground(Drawable.createFromPath(new ImageLoader().fullPath+"/desiredFilename.png"));ll is the object of my linear layout ,is this the correct method
   Bitmap bitmap = BitmapFactory.decodeFile(new ImageLoader().fullPath+"/desiredFilename.png");
              Resources res=getResources();
              BitmapDrawable bitmapDrawable = new BitmapDrawable(res,bitmap);
              ll.setBackground(bitmapDrawable);i also used this code but dosent work shows error noSuchMethods
 
    