From wiki.ginstr.com
Jump to: navigation, search

Commenting syntax

Commenting can be used in all layout xml files action sets. The syntax is similar to java commenting syntax.

Single line comment

// - used to comment only one line

Example

  // query resident by Id and does this and that
  [gn:act_trigger]|[@+id/myWidgetId,gn:act_set]

Multi line comment

/* ... */ - used to comment multiple lines

Example

[gn:act_if]|[[gn:act_hasTableRights]|[${tableName}!=R]--
  /*my other comment
    which 
    is 
    multiline*/
  [gn:act_toast]|[@string/${$noReadRightsToast}];