Is possible to give the background image of a button to another button, like we pass values betweeen variable, in Android Studio?
I want something like:
btn_1.setBackgroundResource = btn_2.setBackgroundResource
CodePudding user response:
button1.setBackground(button2.getBackground());