(→XML Attributes Description) |
m (formatting) |
||
Line 7: | Line 7: | ||
;Description | ;Description | ||
− | : <code>GnRadioButton</code> inherits regular Android <code>[http://developer.android.com/reference/android/widget/RadioButton.html RadioButton]</code> widget and is used to display a single choice list. | + | : <code>[[GnRadioButton]]</code> inherits regular Android <code>[http://developer.android.com/reference/android/widget/RadioButton.html RadioButton]</code> widget and is used to display a single choice list. |
==XML Attributes Description== | ==XML Attributes Description== | ||
Line 15: | Line 15: | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | title="Attribute" | gn:background_checked | + | | title="Attribute" | <code>gn:background_checked</code> |
− | | title="Description" | Represents a background of checked <code>GnRadioButton</code> | + | | title="Description" | Represents a background of checked <code>[[GnRadioButton]]</code> |
Can be | Can be | ||
* <code>@drawable</code> | * <code>@drawable</code> | ||
|- | |- | ||
− | | title="Attribute" | gn:background_unchecked | + | | title="Attribute" | <code>gn:background_unchecked</code> |
− | | title="Description" | Represents a background of unchecked <code>GnRadioButton</code> | + | | title="Description" | Represents a background of unchecked <code>[[GnRadioButton]]</code> |
Can be | Can be |
Revision as of 13:05, 12 July 2017
Contents
GnRadioButton
- Widget XML tag
<com.ginstr.widgets.GnRadioButton>
- Description
GnRadioButton
inherits regular AndroidRadioButton
widget and is used to display a single choice list.
XML Attributes Description
Attribute | Description |
---|---|
gn:background_checked
|
Represents a background of checked GnRadioButton
Can be
|
gn:background_unchecked
|
Represents a background of unchecked GnRadioButton
Can be
|
Example
<com.ginstr.widgets.GnRadioButton android:id="@+id/page4_wallsPoor" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/page4_wallsPoor"/>