android:button =“ @ null”在较低的API <= 19设备上不起作用

Vla*_*nko 7 android android-appcompat android-button androidx

我更新了的版本androidx.appcompat:appcompat1.1.0-alpha01使用新功能。但是更新之后,android:button="@null" 带有RadioButton的停止在API 19以下的设备上停止工作,并且不会删除默认的单选图标。有什么解决办法吗?

Zor*_*ran 6

就我而言,仅适用于两者

        android:button="@null"
        app:buttonCompat = "@null"
Run Code Online (Sandbox Code Playgroud)

属性设置为@null