Files
vtosters/smali/res/xml/preferences_proxy.xml
T
2022-05-04 13:12:39 +03:00

135 lines
5.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/vtlproxy">
<Preference
android:enabled="false"
android:summary="@string/proxyimpinfosum"
android:title="@string/proxyimpinfo" />
<com.vtosters.lite.ui.SummaryListPreference
android:defaultValue="noproxy"
android:dialogTitle="@string/useproxysum"
android:entries="@array/proxy"
android:entryValues="@array/proxy_value"
android:key="proxy"
android:title="@string/useproxy" />
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
</PreferenceCategory>
<PreferenceCategory android:title="@string/proxyadvsettings">
<EditTextPreference
android:defaultValue=""
android:key="proxyapi"
android:title="@string/proxyapi" />
<EditTextPreference
android:defaultValue=""
android:key="proxyoauth"
android:title="@string/proxyoauth" />
<EditTextPreference
android:defaultValue=""
android:key="proxystatic"
android:title="@string/proxystatic" />
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
</PreferenceCategory>
<PreferenceCategory android:title="@string/proxyhttp">
<EditTextPreference
android:defaultValue=""
android:key="proxyHostHTTP"
android:title="@string/proxydomain" />
<EditTextPreference
android:defaultValue=""
android:key="proxyPortHTTP"
android:title="@string/proxyport" />
<EditTextPreference
android:defaultValue=""
android:key="proxyUserHTTP"
android:summary="Если имеется"
android:title="Логин" />
<EditTextPreference
android:defaultValue=""
android:key="proxyPassHTTP"
android:summary="Если имеется"
android:title="Пароль" />
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
</PreferenceCategory>
<PreferenceCategory android:title="@string/proxyhttps">
<EditTextPreference
android:defaultValue=""
android:key="proxyHostHTTPS"
android:title="@string/proxydomain" />
<EditTextPreference
android:defaultValue=""
android:key="proxyPortHTTPS"
android:title="@string/proxyport" />
<EditTextPreference
android:defaultValue=""
android:key="proxyUserHTTPS"
android:summary="Если имеется"
android:title="Логин" />
<EditTextPreference
android:defaultValue=""
android:key="proxyPassHTTPS"
android:summary="Если имеется"
android:title="Пароль" />
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
</PreferenceCategory>
<PreferenceCategory android:title="@string/proxysocks">
<EditTextPreference
android:defaultValue=""
android:key="proxyHostSocks"
android:title="@string/proxydomain" />
<EditTextPreference
android:defaultValue=""
android:key="proxyPortSocks"
android:title="@string/proxyport" />
<EditTextPreference
android:defaultValue=""
android:key="proxyUserSocks"
android:summary="Если имеется"
android:title="Логин" />
<EditTextPreference
android:defaultValue=""
android:key="proxyPassSocks"
android:summary="Если имеется"
android:title="Пароль" />
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
</PreferenceCategory>
<PreferenceCategory android:title="@string/proxyowners">
<Preference
android:persistent="false"
android:summary="@string/proxyownersxtr"
android:title="xtrafrancyz">
<intent
android:action="android.intent.action.VIEW"
android:data="https://xtrafrancyz.net/unblock-vk" />
</Preference>
<Preference
android:persistent="false"
android:title="@string/proxydonate">
<intent
android:action="android.intent.action.VIEW"
android:data="https://xtrafrancyz.net/donate" />
</Preference>
<Preference
android:persistent="false"
android:title="@string/proxyownersxtrsources">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/xtrafrancyz/vk-proxy" />
</Preference>
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
<Preference
android:persistent="false"
android:summary="@string/proxyownerszbr"
android:title="zaborona">
<intent
android:action="android.intent.action.VIEW"
android:data="https://zaborona.help" />
</Preference>
<Preference
android:persistent="false"
android:title="@string/proxydonate">
<intent
android:action="android.intent.action.VIEW"
android:data="https://zaborona.help/donate.html" />
</Preference>
</PreferenceCategory>
</PreferenceScreen>