From wiki.ginstr.com
Revision as of 14:44, 29 May 2018 by Mark (talk | contribs) (added autoCapitalize attribute)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

common.xml

common.xml contains information about ginstr app.

XML Attributes

Obligatory attributes:

min_client_version
minimum version of ginstr launcher client this app works with
i.e. 30150901
User should be able to pick the minimum compatible launcher in app-composer and the value should be autoset here
app_version
build version of the ginstr app
Each app starts with 2.0 as initial value, each time a new ginstr app version is published it should increment by 0.1
inSettingsImageSource
about screen extra string information
i.e. "5 vor 12,<BR/>#19410503, © Stauke,<BR/>fotolia.com"
app-composer should have place to add this information

Optional attributes:

autoCapitalize
if set to true, auto-capitalization feature is applied to all GnEditText or GnAutoCompleteTextView widgets whereby the first character entered by the user in to the input box is automatically capitalized.

Example common.xml file

<?xml version="1.0" encoding="utf-8"?>
<commonResources>
  <string name="min_client_version"></string>
  <string name="app_version">2.0</string>
  <string name="inSettingsImageSource"></string>
  <string name="autoCapitalize">true</string>
</commonResources>