|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
3 | 3 | <PreferenceCategory android:title="@string/title_settings">
|
4 |
| - <!--<CheckBoxPreference--> |
5 |
| - <!--android:key="pref_bypass_mainland"--> |
6 |
| - <!--android:summary="@string/summary_pref_bypass_mainland"--> |
7 |
| - <!--android:title="@string/title_pref_bypass_mainland" />--> |
8 | 4 | <CheckBoxPreference
|
9 | 5 | android:key="pref_per_app_proxy"
|
10 | 6 | android:summary="@string/summary_pref_per_app_proxy"
|
|
28 | 24 |
|
29 | 25 | </PreferenceCategory>
|
30 | 26 |
|
| 27 | + <PreferenceCategory android:title="@string/title_pref_routing"> |
| 28 | + <ListPreference |
| 29 | + android:defaultValue="IPIfNonMatch" |
| 30 | + android:entries="@array/routing_domain_strategy" |
| 31 | + android:entryValues="@array/routing_domain_strategy" |
| 32 | + android:key="pref_routing_domain_strategy" |
| 33 | + android:summary="%s" |
| 34 | + android:title="@string/title_pref_routing_domain_strategy" /> |
| 35 | + |
| 36 | + <ListPreference |
| 37 | + android:defaultValue="0" |
| 38 | + android:entries="@array/routing_mode" |
| 39 | + android:entryValues="@array/routing_mode_value" |
| 40 | + android:key="pref_routing_mode" |
| 41 | + android:summary="%s" |
| 42 | + android:title="@string/title_pref_routing_mode" /> |
| 43 | + |
| 44 | + <Preference |
| 45 | + android:key="pref_routing_custom" |
| 46 | + android:summary="@string/title_pref_routing_custom" |
| 47 | + android:title="@string/title_pref_routing_custom" /> |
| 48 | + </PreferenceCategory> |
| 49 | + |
31 | 50 | <PreferenceCategory android:title="@string/title_advanced">
|
32 | 51 |
|
33 | 52 | <CheckBoxPreference
|
|
50 | 69 | android:summary="@string/summary_pref_remote_dns"
|
51 | 70 | android:title="@string/title_pref_remote_dns" />
|
52 | 71 |
|
53 |
| - |
54 |
| - <!--<EditTextPreference--> |
55 |
| - <!--android:enabled="false"--> |
56 |
| - <!--android:defaultValue="10808"--> |
57 |
| - <!--android:key="pref_socks_port"--> |
58 |
| - <!--android:summary="@string/summary_pref_socks_port"--> |
59 |
| - <!--android:title="@string/title_pref_socks_port" />--> |
60 |
| - |
61 |
| - <!--<EditTextPreference--> |
62 |
| - <!--android:defaultValue="0"--> |
63 |
| - <!--android:key="pref_lanconn_port"--> |
64 |
| - <!--android:summary="@string/summary_pref_lanconn_port"--> |
65 |
| - <!--android:title="@string/title_pref_lanconn_port" />--> |
66 |
| - |
67 |
| - |
68 |
| - </PreferenceCategory> |
69 |
| - |
70 |
| - <PreferenceCategory android:title="@string/title_pref_routing"> |
71 |
| - <ListPreference |
72 |
| - android:defaultValue="IPIfNonMatch" |
73 |
| - android:entries="@array/routing_domain_strategy" |
74 |
| - android:entryValues="@array/routing_domain_strategy" |
75 |
| - android:key="pref_routing_domain_strategy" |
76 |
| - android:summary="%s" |
77 |
| - android:title="@string/title_pref_routing_domain_strategy" /> |
78 |
| - |
79 |
| - <ListPreference |
80 |
| - android:defaultValue="0" |
81 |
| - android:entries="@array/routing_mode" |
82 |
| - android:entryValues="@array/routing_mode_value" |
83 |
| - android:key="pref_routing_mode" |
84 |
| - android:summary="%s" |
85 |
| - android:title="@string/title_pref_routing_mode" /> |
| 72 | + <Preference |
| 73 | + android:key="pref_socks_port" |
| 74 | + android:summary="10808" |
| 75 | + android:title="@string/title_pref_socks_port" /> |
86 | 76 |
|
87 | 77 | <Preference
|
88 |
| - android:key="pref_routing_custom" |
89 |
| - android:summary="@string/title_pref_routing_custom" |
90 |
| - android:title="@string/title_pref_routing_custom" /> |
| 78 | + android:key="pref_http_port" |
| 79 | + android:summary="10809" |
| 80 | + android:title="@string/title_pref_http_port" /> |
| 81 | + </PreferenceCategory> |
91 | 82 |
|
| 83 | + <PreferenceCategory android:title="@string/title_about"> |
92 | 84 | <!--<Preference-->
|
93 | 85 | <!--android:key="pref_donate"-->
|
94 | 86 | <!--android:summary="@string/summary_pref_donate"-->
|
95 | 87 | <!--android:title="@string/title_pref_donate" />-->
|
96 | 88 |
|
97 |
| - </PreferenceCategory> |
98 |
| - |
99 |
| - <PreferenceCategory android:title="@string/title_about"> |
100 | 89 | <!--<Preference-->
|
101 | 90 | <!--android:key="pref_licenses"-->
|
102 | 91 | <!--android:title="@string/notices_title" />-->
|
|
0 commit comments