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