(Created page with " <div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>GnMap</code> (M103.8.0.6)</span> Category:Widget_Library ;...") |
|||
Line 9: | Line 9: | ||
;Description | ;Description | ||
: <code>[[GnMap]]</code> inherits <code>[https://github.com/osmdroid/osmdroid osmdroid]</code> component. | : <code>[[GnMap]]</code> inherits <code>[https://github.com/osmdroid/osmdroid osmdroid]</code> component. | ||
− | : Provides | + | : Provides map functionality. |
==XML Attributes Description== | ==XML Attributes Description== |
Revision as of 13:09, 1 June 2020
GnMap
(M103.8.0.6)
- Widget XML tag
<com.ginstr.widgets.GnMap>
XML Attributes Description
Attribute | Description |
---|---|
gn:showOtherDates
|
By default, only days of one month, in the min-max range, are shown.
Flags are described here: https://github.com/prolificinteractive/material-calendarview/wiki/Customization#showing-other-dates Can be
|
gn:selectionMode
|
Four modes of selection are supported single, multiple, range or none. The default is single selection.
Flags are described here: https://github.com/prolificinteractive/material-calendarview/wiki/Customization#xml Can be
|
gn:selectionColor
|
Represents the color of the selector
Can be any hex color representation
|
gn:arrowColorFilter
|
Represents the color of the month switch arrows
Can be any hex color representation
|
gn:headerTextColor
|
Represents the text color of the header section (month year)
Can be any hex color representation
|
gn:headerBackgroundColor
|
Represents the background color of the header section (month year)
Can be any hex color representation
|
gn:currentDayTextColor
|
Represents the textcolor of the current day
Can be any hex color representation
|
gn:currentMonthDayTextColor
|
Represents the text color of the all days which are not the current day
Can be any hex color representation
|
gn:s_minDate
|
Sets minimum permitted date
Can be
|
gn:s_maxDate
|
Sets maximum permitted date
Can be
|
gn:weekendBackgroundColor
|
(milestone 103.8.0.5) Represents background color of weekend days saturday, sunday
Can be any hex color representation
|
gn:firstDayOfWeek
|
(milestone 103.8.0.5) Configures calendar first day of week. IMPORTANT: value needs be provided in target before (i.e. variable) screen with GnCalendar is loaded |
Events
Data types
Input |
---|
rowsColumn(date)
|
Output |
---|
rowsColumn(date)
|
Example
<com.ginstr.widgets.GnCalendar xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/calendarView" android:layout_width="match_parent" android:layout_height="wrap_content" gn:showOtherDates="none" gn:selectionMode="range" gn:selectionColor="#000000" gn:arrowColorFilter="#ffffff" gn:headerTextColor="#32a852" gn:headerBackgroundColor="#00000000" gn:currentDayTextColor="#a85232" gn:currentMonthDayTextColor="#ffffff" android:background="#00ffffff" />
Summary: 255 This is a minor edit Watch this page Please note that all contributions to wiki.ginstr.com may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see wiki.ginstr.com:Copyrights for details). Do not submit copyrighted work without permission!
| Editing help (opens in new window)
Navigation menu DinkoTalkPreferencesWatchlistContributionsLog outPageDiscussionReadEditView historyUnwatch More Search Search wiki.ginstr.com Main page News revision history Tools What links here Related changes Upload file Special pages Page information Categories ► ginstr app manuals ► ginstr business app maker manual ► ginstr developers manual ► ginstr web manual ► SSO manual Privacy policyImprintDisclaimersPowered by MediaWiki