From wiki.ginstr.com
Jump to: navigation, search
<?xml version="1.0" encoding="utf-8"?>
<com.ginstr.widgets.GnEditText
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	gn:s_sourceType="input"
	gn:inputType="TYPE_CLASS_NUMBER|TYPE_NUMBER_FLAG_SIGNED|TYPE_NUMBER_FLAG_DECIMAL"
	gn:dataType="number"
        gn:s_decimalFormat="0.00"
        gn:act_validate="[name:TextValidator],[maxLength=15],[maxLengthErrMsg=@string/$errorDecimalLengthLimit],[inputType=REGEX],[REGEXErrMsg=@string/$errorDecimalPattern],[pattern=@string/$decimalPattern]"
        gn:style="@style/numberDecimal_input"/>