Add hotspot preference category.

change hotspot ssid and hotspot pass.
This commit is contained in:
Adeel Zafar 2019-07-04 14:47:36 +05:00
parent 51907ffd8c
commit 78bf84e151
2 changed files with 30 additions and 0 deletions

View File

@ -42,6 +42,13 @@
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
<string name="pref_zoom_enable">Zoom controls</string>
<string name="pref_hotspot">Hotspot Settings</string>
<string name="pref_set_hotspot_pass_summary">Password required to connect with hotspot</string>
<string name="pref_set_hotspot_pass_title">Set Password</string>
<string name="pref_hotspot_pass_summary">********</string>
<string name="pref_hotspot_pass_title">Set hotspot password</string>
<string name="pref_hotspot_ssid_summary">hotspot</string>
<string name="pref_hotspot_ssid_title">Hotspot SSID</string>
<string name="pref_nightmode">Night mode</string>
<string name="pref_nightmode_summary">Show articles with inverted colors</string>
<string name="pref_backtotop">Back to Top</string>

View File

@ -63,6 +63,29 @@
android:title="@string/pref_wifi_only"/>
</PreferenceCategory>
<PreferenceCategory
android:key="pref_hotspot"
android:title="@string/pref_hotspot">
<Preference
android:key="pref_hotspot_ssid"
android:summary="@string/pref_hotspot_ssid_summary"
android:title="@string/pref_hotspot_ssid_title"/>
<Preference
android:key="pref_hotspot_pass"
android:summary="@string/pref_hotspot_pass_summary"
android:title="@string/pref_hotspot_pass_title"/>
<org.kiwix.kiwixmobile.settings.CustomSwitchPreference
android:defaultValue="false"
android:key="pref_set_hotspot_pass"
android:summary="@string/pref_set_hotspot_pass_summary"
android:title="@string/pref_set_hotspot_pass_title"/>
</PreferenceCategory>
<PreferenceCategory
android:key="pref_storage"
android:title="@string/pref_storage">