Answers for "how images button work in android studio"

0

how images button work in android studio

/*Add in Oncreate() funtion after setContentView()*/
ImageButton simpleImageButton = (ImageButton) findViewById(R.id.simpleImageButton);
simpleImageButton.setBackgroundColor(Color.BLACK); //set black background color for image button
Posted by: Guest on December-30-2020

Code answers related to "how images button work in android studio"

Browse Popular Code Answers by Language