disable the three unused name prefs

This commit is contained in:
Andy2 2011-05-17 18:26:53 -07:00
parent 0763e7d5b3
commit 7389b3b4c8
2 changed files with 8 additions and 1 deletions

View file

@ -290,6 +290,7 @@
<string name="pref_player2_name">Second player</string>
<string name="pref_player3_name">Third player</string>
<string name="pref_player4_name">Fourth player</string>
<string name="tell_unused">Not used yet...</string>
<string name="prefs_dicts">Dictionaries</string>
<string name="prefs_dicts_summary">Default dictionaries</string>

View file

@ -17,15 +17,21 @@
/>
<EditTextPreference android:key="@string/key_player2_name"
android:title="@string/pref_player2_name"
android:defaultValue=""
android:defaultValue="ignored"
android:summary="@string/tell_unused"
android:enabled="false"
/>
<EditTextPreference android:key="@string/key_player3_name"
android:title="@string/pref_player3_name"
android:defaultValue=""
android:summary="@string/tell_unused"
android:enabled="false"
/>
<EditTextPreference android:key="@string/key_player4_name"
android:title="@string/pref_player4_name"
android:defaultValue=""
android:summary="@string/tell_unused"
android:enabled="false"
/>
</PreferenceScreen>