From wiki.ginstr.com
Jump to: navigation, search
(Events)
Line 12: Line 12:
 
==Events==
 
==Events==
 
: <code>[[gn:act_setClick]]</code>
 
: <code>[[gn:act_setClick]]</code>
 +
: <code>[[gn:act_setLongClick]]</code>
  
 
==Data types==
 
==Data types==

Revision as of 10:41, 8 August 2019

GnDateTimePicker

Widget XML tag
<com.ginstr.widgets.GnDateTimePicker>
Description
GnDateTimePicker inherits regular Android LinearLayout widget.
It provides date and time entry.

Events

gn:act_setClick
gn:act_setLongClick

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" />