Jump to: navigation, search


arrays.xml is an XML file which holds all translations of specific list for ginstr app.
Each array in arrays.xml can have additional array with values which will be used internally by ginstr launcher, while text array will be displayed to users.
value arrays must have the same name as text array with additional suffix _value like in example below.


<?xml version="1.0" encoding="utf-8"?>
  <string-array name="percentages">

  <string-array name="percentages_value">
If above percentages array is used in GnDropDown, in this case it will display values from percentages array, but actually the value from percentages_value array will be e.g. stored into a database.

Location of arrays.xml

arrays.xml should be saved in "values" folder in ginstr app root folder.

Further reading

String Naming Convention