I\'m new to android programming. How do I change the color of a button?
Through Programming:
btn.setBackgroundColor(getResources().getColor(R.color.colorOffWhite));
and your colors.xml must contain...
#80ffffff