(→XML Attributes Description) |
|||
Line 18: | Line 18: | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | title="Attribute" | <code>gn: | + | | title="Attribute" | <code>gn:is24HourFormat</code> |
| title="Description" | Sets whether this widget displays time in 24-hour mode or 12-hour mode with an AM/PM picker. | | title="Description" | Sets whether this widget displays time in 24-hour mode or 12-hour mode with an AM/PM picker. | ||
Revision as of 13:02, 19 November 2019
GnDateTimePicker
- Widget XML tag
<com.ginstr.widgets.GnDateTimePicker>
- Description
GnDateTimePicker
inherits regular AndroidLinearLayout
widget.- It provides date and time entry.
XML Attributes Description
Note: An attribute marked with asterisk (*) is a mandatory parameter when creating widget.
Attribute | Description |
---|---|
gn:is24HourFormat
|
Sets whether this widget displays time in 24-hour mode or 12-hour mode with an AM/PM picker.
Can be |
Events
Data types
Input |
---|
dateTime
|
Output |
---|
dateTime
|
Example
<com.ginstr.widgets.GnDateTimePicker android:id="@+id/laundryServiceReport_dateAndTimeReceived" android:layout_width="match_parent" android:layout_height="wrap_content" />