How to make button non transparent?

Suzan Cioc picture Suzan Cioc · May 17, 2012 · Viewed 11.4k times · Source

I wrote custom View which draws a circle. Then I put it on relative layout. Also I put standard button there, so that they overlap. And I see that button is transparent. How to make it non transparent?

enter image description here

Answer

tlrmcknz picture tlrmcknz · Oct 18, 2012

Set the background to @android:drawable/btn_default to get rid of the transparency of holo theme