diff options
Diffstat (limited to 'res/xml')
| -rw-r--r-- | res/xml/number_row.xml | 21 | ||||
| -rw-r--r-- | res/xml/number_row_no_symbols.xml | 13 | ||||
| -rw-r--r-- | res/xml/settings.xml | 2 |
3 files changed, 25 insertions, 11 deletions
diff --git a/res/xml/number_row.xml b/res/xml/number_row.xml index 2320ade..459a730 100644 --- a/res/xml/number_row.xml +++ b/res/xml/number_row.xml @@ -1,13 +1,14 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- See [number_row_no_symbols.xml] for the number row with no symbols. --> <row height="0.75"> - <key key0="1" se="!"/> - <key key0="2" se="@"/> - <key key0="3" se="#"/> - <key key0="4" se="$"/> - <key key0="5" se="%"/> - <key key0="6" sw="^"/> - <key key0="7" sw="&"/> - <key key0="8" sw="*"/> - <key key0="9" sw="("/> - <key key0="0" sw=")"/> + <key key0="1" se="!"/> + <key key0="2" se="@"/> + <key key0="3" se="#"/> + <key key0="4" se="$"/> + <key key0="5" se="%"/> + <key key0="6" sw="^"/> + <key key0="7" sw="&"/> + <key key0="8" sw="*"/> + <key key0="9" sw="("/> + <key key0="0" sw=")"/> </row> diff --git a/res/xml/number_row_no_symbols.xml b/res/xml/number_row_no_symbols.xml new file mode 100644 index 0000000..3e207af --- /dev/null +++ b/res/xml/number_row_no_symbols.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<row height="0.75"> + <key key0="1"/> + <key key0="2"/> + <key key0="3"/> + <key key0="4"/> + <key key0="5"/> + <key key0="6"/> + <key key0="7"/> + <key key0="8"/> + <key key0="9"/> + <key key0="0"/> +</row> diff --git a/res/xml/settings.xml b/res/xml/settings.xml index c6a0c51..d13a101 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -8,7 +8,7 @@ </PreferenceCategory> <juloo.keyboard2.prefs.ExtraKeysPreference android:title="@string/pref_extra_keys_internal"/> </PreferenceScreen> - <CheckBoxPreference android:key="number_row" android:title="@string/pref_number_row_title" android:summary="@string/pref_number_row_summary" android:defaultValue="false"/> + <ListPreference android:key="number_row" android:title="@string/pref_number_row_title" android:summary="%s" android:defaultValue="no_number_row" android:entries="@array/pref_show_number_row_entries" android:entryValues="@array/pref_show_number_row_values"/> <ListPreference android:key="show_numpad" android:title="@string/pref_show_numpad_title" android:summary="%s" android:defaultValue="1" android:entries="@array/pref_show_numpad_entries" android:entryValues="@array/pref_show_numpad_values"/> <ListPreference android:key="numpad_layout" android:title="@string/pref_numpad_layout" android:summary="%s" android:defaultValue="high_first" android:entries="@array/pref_numpad_layout_entries" android:entryValues="@array/pref_numpad_layout_values"/> </PreferenceCategory> |
