android 实现透明按钮
Here we are going to see how to make a button transparent in Android…
- <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" />
- <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" />
By using android:background=”@android:color/transparent” the button background will become transparent
浙公网安备 33010602011771号