RelativeLayout relative = (RelativeLayout)
this
.findViewById(R.id.layout);
Bitmap bit1 = BitmapFactory.decodeFile(
"/mnt/sdcard/pic/sc1.jpg"
);
BitmapDrawable bd =
new
BitmapDrawable(getResources(),bit1);
relative.setBackground(bd);