Button 已经被点击

xiaoxiao2021-02-28  111

Button  设置触发一次的点击效果

btn1.performClick();

RadioButton   设置没有左边的圆圈

<RadioButton android:id="@+id/btn2" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" android:button="@null" android:gravity="center" android:text="2"/>

主要是这一行

android:button="@null"

记住,不是background   是button属性

转载请注明原文地址: https://www.6miu.com/read-36357.html

最新回复(0)