set image as button background android code example Example: how to set background image on button in android btn.setBackgroundResource(R.drawable.new_todo_image);