SyntaxFix
Write A Post
Hire A Developer
Questions
For 20% transparency, this worked for me:
Button bu = (Button)findViewById(R.id.button1); bu.getBackground().setAlpha(204);