android:button="@null" 不适用于 API <= 19 台设备
android:button="@null" doesn't work on lower API <= 19 devices
我将 androidx.appcompat:appcompat
的版本更新为 1.1.0-alpha01
以便使用 new features。但是在更新之后,带有 RadioButton 的 android:button="@null"
在设备上停止工作 API 19 并且不会删除默认的单选图标。有什么解决办法吗?
我也在为同样的问题苦苦挣扎。看起来升级 appcompact 后你现在必须使用
`app:buttonCompat="@null"`
从
得到这个答案
在我的案例中,两者都有效
android:button="@null"
app:buttonCompat = "@null"
属性设置为@null
我将 androidx.appcompat:appcompat
的版本更新为 1.1.0-alpha01
以便使用 new features。但是在更新之后,带有 RadioButton 的 android:button="@null"
在设备上停止工作 API 19 并且不会删除默认的单选图标。有什么解决办法吗?
我也在为同样的问题苦苦挣扎。看起来升级 appcompact 后你现在必须使用
`app:buttonCompat="@null"`
从
在我的案例中,两者都有效
android:button="@null"
app:buttonCompat = "@null"
属性设置为@null