Add proxy support #376
This commit is contained in:
24
app/src/main/res/xml/pref_proxy.xml
Normal file
24
app/src/main/res/xml/pref_proxy.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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">
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="DIRECT"
|
||||
android:entries="@array/proxy_types"
|
||||
android:entryValues="@array/values_proxy_types"
|
||||
android:key="proxy_type"
|
||||
android:title="@string/type"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<EditTextPreference
|
||||
android:key="proxy_address"
|
||||
android:title="@string/address"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<EditTextPreference
|
||||
android:key="proxy_port"
|
||||
android:title="@string/port"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user