add new advanced pref: default board size. 15x15 is default. Isn't

used yet.
This commit is contained in:
eehouse 2010-04-23 08:49:07 +00:00
parent 848342ad7a
commit cdbf68de67
3 changed files with 17 additions and 0 deletions

View 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>

View file

@ -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>

View file

@ -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"