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