no need for advanced network prefs

since it has only one element in it now
This commit is contained in:
Eric House 2021-12-05 21:21:00 -08:00
parent fd9e519eaa
commit 7a425f6db9
3 changed files with 14 additions and 28 deletions

View file

@ -2254,10 +2254,8 @@
<string name="err_dup_invite_fmt">Duplicate invitation rejected:
device “%1$s” has already accepted an invitation to this
game.</string>
<string name="network_advanced_title">Advanced</string>
<string name="network_advanced_summary">For experienced players</string>
<string name="invite_multi_title">Invite multiple</string>
<string name="invite_multi_summary">Invite more than one player per remote device</string>
<string name="invite_multi_summary">Enable inviting several players per remote device</string>
<string name="connection_via_label">Change Communicate via</string>
<string name="set_pref">Hide buttons</string>
<string name="not_again_hidenewgamebuttons">The two buttons at the

View file

@ -6,6 +6,13 @@
<PreferenceCategory android:title="@string/network_behavior"
android:summary="@string/network_behavior_summary"
>
<CheckBoxPreference android:key="@string/key_notify_vibrate"
android:title="@string/notify_vibrate"
android:summary="@string/notify_other_summary"
android:defaultValue="false"
/>
<org.eehouse.android.xw4.SMSCheckBoxPreference
android:key="@string/key_enable_nbs"
android:title="@string/enable_sms"
@ -13,22 +20,12 @@
android:defaultValue="false"
/>
<CheckBoxPreference android:key="@string/key_notify_vibrate"
android:title="@string/notify_vibrate"
android:summary="@string/notify_other_summary"
android:defaultValue="false"
/>
<CheckBoxPreference android:key="@string/key_enable_p2p"
android:title="@string/title_enable_p2p"
android:summary="@string/summary_enable_p2p"
android:defaultValue="false"
/>
<Preference app:title="@string/network_advanced_title"
app:summary="@string/network_advanced_summary"
app:fragment="org.eehouse.android.xw4.gen.PrefsWrappers$prefs_net_adv"
/>
<org.eehouse.android.xw4.RelayCheckBoxPreference
android:key="@string/key_disable_relay"
android:title="@string/disable_relay"
@ -43,5 +40,11 @@
android:defaultValue="false"
/>
<CheckBoxPreference android:key="@string/key_invite_multi"
android:title="@string/invite_multi_title"
android:summary="@string/invite_multi_summary"
android:defaultValue="false"
/>
</PreferenceCategory>
</PreferenceScreen>

View file

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<PreferenceCategory android:title="@string/network_advanced_title"
android:summary="@string/network_advanced_summary"
>
<CheckBoxPreference android:key="@string/key_invite_multi"
android:title="@string/invite_multi_title"
android:summary="@string/invite_multi_summary"
android:defaultValue="false"
/>
</PreferenceCategory>
</PreferenceScreen>