我写的自定义视图绘制一个圆。然后,我把它放在相对布局。此外,我把标准按钮出现,让他们重叠。而我看到的那个按钮是透明的。如何使它非透明?
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?
标准霍洛主题的按钮是部分透明。您可以创建一个新的按钮9.png图像中的按钮,使用或使用可绘制创建一个新的按钮。
The standard Holo themed button is partially transparent. You can either create a new button 9.png image to use in the button or create a new button by using drawable.
下面是关于如何做后者的链接:
Here's a link on how to do the latter:
http://droidapp.co.uk/?p=309