mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
534df06794
1) Make each MMS preference an individual choice between custom and default. 2) Display default values. Closes #2487 // FREEBIE
36 lines
1.6 KiB
XML
36 lines
1.6 KiB
XML
<?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">
|
|
|
|
<org.thoughtcrime.securesms.components.CustomDefaultPreference
|
|
app:custom_pref_toggle="pref_apn_mmsc_custom_host"
|
|
android:key="pref_apn_mmsc_host"
|
|
android:title="@string/preferences__mmsc_url"
|
|
android:inputType="textUri" />
|
|
|
|
<org.thoughtcrime.securesms.components.CustomDefaultPreference
|
|
app:custom_pref_toggle="pref_apn_mms_custom_proxy"
|
|
android:key="pref_apn_mms_proxy"
|
|
android:title="@string/preferences__mms_proxy_host"
|
|
android:inputType="textUri" />
|
|
|
|
<org.thoughtcrime.securesms.components.CustomDefaultPreference
|
|
app:custom_pref_toggle="pref_apn_mms_custom_proxy_port"
|
|
android:key="pref_apn_mms_proxy_port"
|
|
android:title="@string/preferences__mms_proxy_port"
|
|
android:inputType="number"/>
|
|
|
|
<org.thoughtcrime.securesms.components.CustomDefaultPreference
|
|
app:custom_pref_toggle="pref_apn_mmsc_custom_username"
|
|
android:key="pref_apn_mmsc_username"
|
|
android:title="@string/preferences__mmsc_username"
|
|
android:inputType="textNoSuggestions"/>
|
|
|
|
<org.thoughtcrime.securesms.components.CustomDefaultPreference
|
|
app:custom_pref_toggle="pref_apn_mmsc_custom_password"
|
|
android:key="pref_apn_mmsc_password"
|
|
android:title="@string/preferences__mmsc_password"
|
|
android:inputType="textVisiblePassword"/>
|
|
|
|
</PreferenceScreen> |