[英]How to remove default button style in android
上面是我的按鈕,我想要刪除默認陰影,我已成功刪除背景但陰影仍然存在下面是我的xml代碼
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/create_account"
android:id="@+id/buttonCreateAccount"
android:layout_gravity="center_horizontal"
android:background="@null"
style=""
android:shadowRadius="@null"
android:drawableBottom="@null"
/>
使用以下風格
style="?android:attr/borderlessButtonStyle"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.