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

GnRadioGroup

Widget XML tag
<com.ginstr.widgets.GnRadioGroup>
Description
GnRadioGroup is a container for GnRadioButton widgets.

XML Attributes Description

none

Example

<com.ginstr.widgets.GnRadioGroup 
  android:id="@+id/checklistReport_kitchen_walls" 
  android:layout_width="match_parent" 
  android:layout_height="wrap_content" 
  gn:dataType="text"
  android:orientation="horizontal">
    <com.ginstr.widgets.GnRadioButton
      android:id="@+id/page4_wallsGood" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="@string/page4_wallsGood" />

    <com.ginstr.widgets.GnRadioButton
      android:id="@+id/page4_wallsFair" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="@string/page4_wallsFair"/>

    <com.ginstr.widgets.GnRadioButton
      android:id="@+id/page4_wallsPoor" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="@string/page4_wallsPoor"/>
</com.ginstr.widgets.GnRadioGroup>