(→XML Attributes Description) |
|||
Line 41: | Line 41: | ||
<com.ginstr.widgets.GnDatePicker | <com.ginstr.widgets.GnDatePicker | ||
android:id="@+id/meter_deinstallationDate" | android:id="@+id/meter_deinstallationDate" | ||
− | |||
android:layout_width="match_parent" | android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||
gn:dataType="date" /> | gn:dataType="date" /> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 11:34, 17 March 2017
Contents
GnDatePicker
- Widget XML tag
<com.ginstr.widgets.GnDatePicker>
- Description
GnDatePicker
inherits regular AndroidDatePicker
widget.- It provides date entry.
XML Attributes Description
Attribute | Description |
---|---|
gn:dataType | represents widget data type
Can be |
gn:s_minDate | Sets minimum permitted date
Can be
|
gn:s_maxDate | Sets maximum permitted date
Can be
|
Example
<com.ginstr.widgets.GnDatePicker android:id="@+id/meter_deinstallationDate" android:layout_width="match_parent" android:layout_height="wrap_content" gn:dataType="date" />