mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-02 07:43:03 +00:00
refactor preferences into multiple PreferenceFragments
This commit is contained in:
33
res/xml/preferences_manual_mms.xml
Normal file
33
res/xml/preferences_manual_mms.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<CheckBoxPreference android:key="pref_enable_manual_mms"
|
||||
android:defaultValue="false"
|
||||
android:title="@string/preferences__enable_manual_mms"
|
||||
android:summary="@string/preferences__override_system_mms_settings"/>
|
||||
|
||||
<EditTextPreference android:key="pref_apn_mmsc_host"
|
||||
android:title="@string/preferences__mmsc_url_required"
|
||||
android:dependency="pref_enable_manual_mms"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<EditTextPreference android:key="pref_apn_mms_proxy"
|
||||
android:title="@string/preferences__mms_proxy_host_optional"
|
||||
android:dependency="pref_enable_manual_mms"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<EditTextPreference android:key="pref_apn_mms_proxy_port"
|
||||
android:title="@string/preferences__mms_proxy_port_optional"
|
||||
android:dependency="pref_enable_manual_mms"
|
||||
android:inputType="number" />
|
||||
|
||||
<EditTextPreference android:key="pref_apn_mmsc_username"
|
||||
android:title="@string/preferences__mmsc_username_optional"
|
||||
android:dependency="pref_enable_manual_mms"
|
||||
android:inputType="textNoSuggestions" />
|
||||
|
||||
<EditTextPreference android:key="pref_apn_mmsc_password"
|
||||
android:title="@string/preferences__mmsc_password_optional"
|
||||
android:dependency="pref_enable_manual_mms"
|
||||
android:inputType="textVisiblePassword" />
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user