From wiki.ginstr.com
Revision as of 13:05, 12 July 2017 by Mark (talk | contribs) (formatting)
Jump to: navigation, search

GnRadioButton

Widget XML tag
<com.ginstr.widgets.GnRadioButton>
Description
GnRadioButton inherits regular Android RadioButton 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

  • @drawable
gn:background_unchecked Represents a background of unchecked GnRadioButton

Can be

  • @drawable

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"/>