From wiki.ginstr.com
Jump to: navigation, search
(XML Attributes Description)
(XML Attributes Description)
Line 17: Line 17:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| title="Attribute" | <code>gn:selectionColor</code>
+
| title="Attribute" | <code>gn:columnMarkerGps</code>
| title="Description" | Represents the color of the selector
+
| title="Description" | Represents the column name for the marker GPS
  
Can be any hex color representation
+
* Valid [[source]]:
* <code>#000000</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
| title="Attribute" | <code>gn:arrowColorFilter</code>
+
! scope="col" | Attribute
| title="Description" | Represents the color of the month switch arrows
+
! scope="col" | Description
 +
|-
 +
| title="Attribute" | <code>gn:columnMarkerName</code>
 +
| title="Description" | Represents the column name for the marker name
  
Can be any hex color representation
+
* Valid [[source]]:
* <code>#000000</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
| title="Attribute" | <code>gn:headerTextColor</code>
+
! scope="col" | Attribute
| title="Description" | Represents the text color of the header section (month year)
+
! scope="col" | Description
 
 
Can be any hex color representation
 
* <code>#000000</code>
 
 
|-
 
|-
| title="Attribute" | <code>gn:headerBackgroundColor</code>
+
| title="Attribute" | <code>gn:columnMarkerPhoto</code>
| title="Description" | Represents the background color of the header section (month year)
+
| title="Description" | Represents the column name for the marker photo
  
Can be any hex color representation
+
* Valid [[source]]:
* <code>#000000</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
| title="Attribute" | <code>gn:currentDayTextColor</code>
+
! scope="col" | Attribute
| title="Description" | Represents the textcolor of the current day
+
! scope="col" | Description
 
 
Can be any hex color representation
 
* <code>#000000</code>
 
 
|-
 
|-
| title="Attribute" | <code>gn:currentMonthDayTextColor</code>
+
| title="Attribute" | <code>gn:columnMarkerInformation</code>
| title="Description" | Represents the text color of the all days which are not the current day
+
| title="Description" | Represents the column name for the marker description
  
Can be any hex color representation
+
* Valid [[source]]:
* <code>#000000</code>
+
** <code>[[Datatypes#text|text]]</code>
 
|-
 
|-
| title="Attribute" | <code>gn:s_minDate</code>
+
! scope="col" | Attribute
| title="Description" | Sets minimum permitted date
+
! scope="col" | Description
Can be
 
* <code>current</code> - Sets the current date as minimum date
 
* <code>minusX</code> - Sets minimum date as current date minus <code>X</code> days
 
* <code>plusX</code> - Sets minimum date as current date plus <code>X</code> days
 
 
|-
 
|-
| title="Attribute" | <code>gn:s_maxDate</code>
+
| title="Attribute" | <code>gn:columnRoutePath</code>
| title="Description" | Sets maximum permitted date
+
| title="Description" | Represents the column name for the route path data
Can be
+
 
* <code>current</code> - Sets the current date as maximum date
+
* Valid [[source]]:
* <code>minusX</code> - Sets maximum date as current date minus <code>X</code> days
+
** <code>[[Datatypes#text|text]]</code>
* <code>plusX</code> - Sets maximum date as current date plus <code>X</code> days
 
 
|-
 
|-
| title="Attribute" | <code>gn:weekendBackgroundColor</code>
+
! scope="col" | Attribute
| title="Description" | (milestone 103.8.0.5) Represents background color of weekend days <code>saturday, sunday</code>
+
! scope="col" | Description
Can be any hex color representation
 
* <code>#000000</code>
 
 
|-
 
|-
| title="Attribute" | <code>gn:firstDayOfWeek</code>
+
| title="Attribute" | <code>gn:columnType</code>
| title="Description" | (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
+
| title="Description" | Represents the column name for the marker type
* Valid [[target|targets]]:
+
 
 +
* Valid [[source]]:
 
** <code>[[Datatypes#text|text]]</code>
 
** <code>[[Datatypes#text|text]]</code>
* Valid values in [[target|targets]]:
 
** <code>monday</code>
 
** <code>sunday</code>
 
 
|}
 
|}
  

Revision as of 13:15, 1 June 2020

GnMap (M103.8.0.6)

Widget XML tag
<com.ginstr.widgets.GnMap>
Description
GnMap inherits osmdroid component.
Provides map functionality.

XML Attributes Description

Attribute Description
gn:columnMarkerGps Represents the column name for the marker GPS
Attribute Description
gn:columnMarkerName Represents the column name for the marker name
Attribute Description
gn:columnMarkerPhoto Represents the column name for the marker photo
Attribute Description
gn:columnMarkerInformation Represents the column name for the marker description
Attribute Description
gn:columnRoutePath Represents the column name for the route path data
Attribute Description
gn:columnType Represents the column name for the marker type

Events

gn:act_setClick
gn:act_setLongClick

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