(→XML Attributes Description) |
(→XML Attributes Description) |
||
Line 25: | Line 25: | ||
* <code>[[Datatypes#status|status]]</code> | * <code>[[Datatypes#status|status]]</code> | ||
|- | |- | ||
− | | title="Attribute" | <code>gn:textColor</code> | + | | title="Attribute" | <code>gn:textColor</code>(M103.8.1) |
| title="Description" | Defines widget's color | | title="Description" | Defines widget's color | ||
Can be | Can be |
Revision as of 23:56, 24 March 2020
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 |
gn:textColor (M103.8.1)
|
Defines widget's color
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" />