Created
May 24, 2019 18:25
-
-
Save d-j-kendall/6ea5a65f97f02e11cce18e0bec1176e4 to your computer and use it in GitHub Desktop.
Better way to structure android string array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<string-array translatable="false" name="create_user_permission_type"> | |
<item>@string/machine_operator</item> | |
<item>@string/supervisor</item> | |
<item>@string/machine_tech</item> | |
<item>@string/machine_admin</item> | |
</string-array> | |
<string name="super_admin">Super Admin</string> | |
<string name="machine_operator">Machine Operator</string> | |
<string name="supervisor">Supervisor</string> | |
<string name="machine_tech">Machine Tech</string> | |
<string name="machine_admin">Machine Admin</string> | |
<string-array translatable="false" name="preferred_pressure"> | |
<item>@string/units_psi</item> | |
<item>@string/units_bar</item> | |
</string-array> | |
<string name="units_psi">PSI</string> | |
<string name="units_bar">Bar</string> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment