Line 8: | Line 8: | ||
;Description | ;Description | ||
: <code>[[GnCalendar]]</code> inherits <code>[https://github.com/prolificinteractive/material-calendarview MaterialCalendarView]</code> widget. | : <code>[[GnCalendar]]</code> inherits <code>[https://github.com/prolificinteractive/material-calendarview MaterialCalendarView]</code> widget. | ||
− | : Provides single, range | + | : Provides single, multiple and range date selection. |
==XML Attributes Description== | ==XML Attributes Description== |
Revision as of 09:45, 19 March 2020
GnCalendar
- Widget XML tag
-
<com.ginstr.widgets.GnCalendar>
- Description
-
GnCalendar
inheritsMaterialCalendarView
widget. - Provides single, multiple and range date selection.
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
|
Events
Data types
Input |
---|
text
|
date
|
dateTime
|
Output |
---|
date
|
dateTime
|
Example
<com.ginstr.widgets.GnDatePicker android:id="@+id/meter_deinstallationDate" android:layout_width="match_parent" android:layout_height="wrap_content" gn:dataType="date" />