Phew. Changed settings backend. Used more ENUM, fixed some bugs.
* Settings now use the database instead of SharedPreferences (which are bad) * Changed many constants to now be ENUMs. * Changed some character mappings which were too big. * Added limit to number of results returned to stop crash. * Changed Lang id so can do binary operations on it * Removed some old code
This commit is contained in:
parent
300e9df54b
commit
b40db96182
44 changed files with 1043 additions and 483 deletions
|
|
@ -1,29 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="pref_inputmode_entries">
|
||||
<item >Dictionary</item>
|
||||
<item >Text</item>
|
||||
<item >Number</item>
|
||||
</string-array>
|
||||
<string-array translatable="false" name="pref_inputmode_values">
|
||||
<item >0</item>
|
||||
<item >1</item>
|
||||
<item >2</item>
|
||||
<item>Dictionary</item>
|
||||
<item>Text</item>
|
||||
<item>Number</item>
|
||||
</string-array>
|
||||
<integer-array translatable="false" name="pref_inputmode_values">
|
||||
<item>@integer/INPUT_DICT</item>
|
||||
<item>@integer/INPUT_TEXT</item>
|
||||
<item>@integer/INPUT_NUM</item>
|
||||
</integer-array>
|
||||
|
||||
<string-array translatable="false" name="pref_lang_defaults">
|
||||
<item >0</item>
|
||||
</string-array>
|
||||
<string-array name="pref_lang_titles">
|
||||
<item >English</item>
|
||||
<item >Russian</item>
|
||||
<item >German</item>
|
||||
</string-array>
|
||||
<string-array translatable="false" name="pref_lang_values">
|
||||
<item >0</item>
|
||||
<item >1</item>
|
||||
<item >2</item>
|
||||
<item>English</item>
|
||||
<item>Russian</item>
|
||||
<item>German</item>
|
||||
</string-array>
|
||||
<integer-array translatable="false" name="pref_lang_values">
|
||||
<item>@integer/LANG_EN</item>
|
||||
<item>@integer/LANG_RU</item>
|
||||
<item>@integer/LANG_DE</item>
|
||||
</integer-array>
|
||||
|
||||
<string-array name="capsMode">
|
||||
<item>Caps off</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue