mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
add new advanced pref: default board size. 15x15 is default. Isn't
used yet.
This commit is contained in:
parent
848342ad7a
commit
cdbf68de67
3 changed files with 17 additions and 0 deletions
8
xwords4/android/XWords4/res/values/arrays.xml
Normal file
8
xwords4/android/XWords4/res/values/arrays.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="board_sizes">
|
||||
<item>15x15</item>
|
||||
<item>13x13</item>
|
||||
<item>11x11</item>
|
||||
</string-array>
|
||||
</resources>
|
|
@ -227,6 +227,7 @@
|
|||
<string name="dict_host">Dictionary download URL</string>
|
||||
<string name="relay_port">Relay port</string>
|
||||
<string name="sms_port">SMS port</string>
|
||||
<string name="board_size">Initial board size</string>
|
||||
|
||||
<string name="sms_phone_label">sms_phone_label</string>
|
||||
<string name="sms_port_label">sms_port_label</string>
|
||||
|
@ -308,6 +309,7 @@
|
|||
<string name="key_relay_port">key_relay_port</string>
|
||||
<string name="key_sms_port">key_sms_port</string>
|
||||
<string name="key_dict_host">key_dict_host</string>
|
||||
<string name="key_board_size">key_board_size</string>
|
||||
|
||||
<string name="default_host">eehouse.org</string>
|
||||
</resources>
|
||||
|
|
|
@ -96,6 +96,13 @@
|
|||
|
||||
<PreferenceScreen android:title="@string/advanced"
|
||||
>
|
||||
<ListPreference android:key="@string/key_board_size"
|
||||
android:title="@string/board_size"
|
||||
android:entries="@array/board_sizes"
|
||||
android:entryValues="@array/board_sizes"
|
||||
android:defaultValue="15x15"
|
||||
/>
|
||||
|
||||
<EditTextPreference android:key="@string/key_relay_host"
|
||||
android:title="@string/relay_host"
|
||||
android:defaultValue="@string/default_host"
|
||||
|
|
Loading…
Reference in a new issue