From wiki.ginstr.com
Jump to: navigation, search
m
Line 7: Line 7:
  
 
;Description
 
;Description
: <code>GnRadioGroup</code> is a container for <code>[[GnRadioButton]]</code> widgets.
+
: <code>[[GnRadioGroup]]</code> is a container for <code>[[GnRadioButton]]</code> widgets.
  
 
==XML Attributes Description==
 
==XML Attributes Description==

Revision as of 13:06, 12 July 2017

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>