I cannot seem to change the background image of my image button. Heres the code i\'m currently trying to use:
ImageButton imgButton = (ImageButton) findViewB
For solving this question you should implement
imgButton.setImageResource(R.drawable. tab2_selected);