android-制作透明按钮

Here we are going to see how to make a button transparent in Android...

[sourcecode language="css"]

<Button android:background="@android:color/transparent"
android:text="@+id/Button01"
android:id="@+id/Button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff" />
[/sourcecode]

By using android:background="@android:color/transparent" the button background will become transparent

你可能感兴趣的:(android-制作透明按钮)