IT@程序员猿媛程序员

RadioButton将button设置为@null时还占着位置

2019-04-03  本文已影响0人  拉格朗日

<RadioButton

                android:id="@+id/rb_table"

                style="@style/radiobutton_style"

                android:button="@null"

                android:checked="true"

                android:drawableTop="@drawable/selector_rb_table"

                android:text="" />

button占位置

增加设置背景颜色如 android:background=" @color/transparent" 即可解决


button不占位置
上一篇 下一篇

猜你喜欢

热点阅读