單選按鈕——RadioButton

一.RadioGroup: 屬性 orientation:排列方式 1.若值爲horizontal,則爲橫向,水平排列: eg android:orientation=「horizontal」 2.若值爲vertical,則爲縱向,垂直排列: eg android:orientation=「vertical」 二.checkedButton:默認選中 直接調用已經放入在radiogroup中且已有
相關文章
相關標籤/搜索