Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
c0047e95
Commit
c0047e95
authored
Dec 09, 2019
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a bunch of dumb icons and call it 2020
parent
986ed149
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
137 additions
and
2 deletions
+137
-2
mobile/src/main/res/drawable/ic_communication_phonelink_ring.xml
...src/main/res/drawable/ic_communication_phonelink_ring.xml
+6
-0
mobile/src/main/res/drawable/ic_device_developer_mode.xml
mobile/src/main/res/drawable/ic_device_developer_mode.xml
+10
-0
mobile/src/main/res/drawable/ic_hardware_router.xml
mobile/src/main/res/drawable/ic_hardware_router.xml
+6
-0
mobile/src/main/res/drawable/ic_maps_360.xml
mobile/src/main/res/drawable/ic_maps_360.xml
+11
-0
mobile/src/main/res/drawable/ic_maps_directions.xml
mobile/src/main/res/drawable/ic_maps_directions.xml
+6
-0
mobile/src/main/res/drawable/ic_maps_directions_boat.xml
mobile/src/main/res/drawable/ic_maps_directions_boat.xml
+10
-0
mobile/src/main/res/drawable/ic_maps_menu_book.xml
mobile/src/main/res/drawable/ic_maps_menu_book.xml
+19
-0
mobile/src/main/res/drawable/ic_settings_password.xml
mobile/src/main/res/drawable/ic_settings_password.xml
+31
-0
mobile/src/main/res/drawable/ic_social_emoji_symbols.xml
mobile/src/main/res/drawable/ic_social_emoji_symbols.xml
+28
-0
mobile/src/main/res/xml/pref_global.xml
mobile/src/main/res/xml/pref_global.xml
+4
-0
mobile/src/main/res/xml/pref_profile.xml
mobile/src/main/res/xml/pref_profile.xml
+6
-2
No files found.
mobile/src/main/res/drawable/ic_communication_phonelink_ring.xml
0 → 100644
View file @
c0047e95
<vector
android:autoMirrored=
"true"
android:height=
"24dp"
android:viewportHeight=
"24.0"
android:viewportWidth=
"24.0"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M20.1,7.7l-1,1c1.8,1.8 1.8,4.6 0,6.5l1,1c2.5,-2.3 2.5,-6.1 0,-8.5zM18,9.8l-1,1c0.5,0.7 0.5,1.6 0,2.3l1,1c1.2,-1.2 1.2,-3 0,-4.3zM14,1L4,1c-1.1,0 -2,0.9 -2,2v18c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2L16,3c0,-1.1 -0.9,-2 -2,-2zM14,20L4,20L4,4h10v16z"
/>
</vector>
mobile/src/main/res/drawable/ic_device_developer_mode.xml
0 → 100644
View file @
c0047e95
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M7,5h10v2h2L19,3c0,-1.1 -0.9,-1.99 -2,-1.99L7,1c-1.1,0 -2,0.9 -2,2v4h2L7,5zM15.41,16.59L20,12l-4.59,-4.59L14,8.83 17.17,12 14,15.17l1.41,1.42zM10,15.17L6.83,12 10,8.83 8.59,7.41 4,12l4.59,4.59L10,15.17zM17,19L7,19v-2L5,17v4c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2v-4h-2v2z"
/>
</vector>
mobile/src/main/res/drawable/ic_hardware_router.xml
0 → 100644
View file @
c0047e95
<vector
android:autoMirrored=
"true"
android:height=
"24dp"
android:viewportHeight=
"24.0"
android:viewportWidth=
"24.0"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M20.2,5.9l0.8,-0.8C19.6,3.7 17.8,3 16,3s-3.6,0.7 -5,2.1l0.8,0.8C13,4.8 14.5,4.2 16,4.2s3,0.6 4.2,1.7zM19.3,6.7c-0.9,-0.9 -2.1,-1.4 -3.3,-1.4s-2.4,0.5 -3.3,1.4l0.8,0.8c0.7,-0.7 1.6,-1 2.5,-1 0.9,0 1.8,0.3 2.5,1l0.8,-0.8zM19,13h-2L17,9h-2v4L5,13c-1.1,0 -2,0.9 -2,2v4c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2v-4c0,-1.1 -0.9,-2 -2,-2zM8,18L6,18v-2h2v2zM11.5,18h-2v-2h2v2zM15,18h-2v-2h2v2z"
/>
</vector>
mobile/src/main/res/drawable/ic_maps_360.xml
0 → 100644
View file @
c0047e95
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
android:autoMirrored=
"true"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M12,7C6.48,7 2,9.24 2,12c0,2.24 2.94,4.13 7,4.77V20l4,-4 -4,-4v2.73c-3.15,-0.56 -5,-1.9 -5,-2.73 0,-1.06 3.04,-3 8,-3s8,1.94 8,3c0,0.73 -1.46,1.89 -4,2.53v2.05c3.53,-0.77 6,-2.53 6,-4.58 0,-2.76 -4.48,-5 -10,-5z"
/>
</vector>
mobile/src/main/res/drawable/ic_maps_directions.xml
0 → 100644
View file @
c0047e95
<vector
android:autoMirrored=
"true"
android:height=
"24dp"
android:viewportHeight=
"24.0"
android:viewportWidth=
"24.0"
android:width=
"24dp"
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M21.71,11.29l-9,-9c-0.39,-0.39 -1.02,-0.39 -1.41,0l-9,9c-0.39,0.39 -0.39,1.02 0,1.41l9,9c0.39,0.39 1.02,0.39 1.41,0l9,-9c0.39,-0.38 0.39,-1.01 0,-1.41zM14,14.5V12h-4v3H8v-4c0,-0.55 0.45,-1 1,-1h5V7.5l3.5,3.5 -3.5,3.5z"
/>
</vector>
mobile/src/main/res/drawable/ic_maps_directions_boat.xml
0 → 100644
View file @
c0047e95
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M20,21c-1.39,0 -2.78,-0.47 -4,-1.32 -2.44,1.71 -5.56,1.71 -8,0C6.78,20.53 5.39,21 4,21H2v2h2c1.38,0 2.74,-0.35 4,-0.99 2.52,1.29 5.48,1.29 8,0 1.26,0.65 2.62,0.99 4,0.99h2v-2h-2zM3.95,19H4c1.6,0 3.02,-0.88 4,-2 0.98,1.12 2.4,2 4,2s3.02,-0.88 4,-2c0.98,1.12 2.4,2 4,2h0.05l1.89,-6.68c0.08,-0.26 0.06,-0.54 -0.06,-0.78s-0.34,-0.42 -0.6,-0.5L20,10.62V6c0,-1.1 -0.9,-2 -2,-2h-3V1H9v3H6c-1.1,0 -2,0.9 -2,2v4.62l-1.29,0.42c-0.26,0.08 -0.48,0.26 -0.6,0.5s-0.15,0.52 -0.06,0.78L3.95,19zM6,6h12v3.97L12,8 6,9.97V6z"
/>
</vector>
mobile/src/main/res/drawable/ic_maps_menu_book.xml
0 → 100644
View file @
c0047e95
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24"
android:viewportHeight=
"24"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"@android:color/white"
android:pathData=
"M21,5c-1.11,-0.35 -2.33,-0.5 -3.5,-0.5c-1.95,0 -4.05,0.4 -5.5,1.5c-1.45,-1.1 -3.55,-1.5 -5.5,-1.5S2.45,4.9 1,6v14.65c0,0.25 0.25,0.5 0.5,0.5c0.1,0 0.15,-0.05 0.25,-0.05C3.1,20.45 5.05,20 6.5,20c1.95,0 4.05,0.4 5.5,1.5c1.35,-0.85 3.8,-1.5 5.5,-1.5c1.65,0 3.35,0.3 4.75,1.05c0.1,0.05 0.15,0.05 0.25,0.05c0.25,0 0.5,-0.25 0.5,-0.5V6C22.4,5.55 21.75,5.25 21,5zM21,18.5c-1.1,-0.35 -2.3,-0.5 -3.5,-0.5c-1.7,0 -4.15,0.65 -5.5,1.5V8c1.35,-0.85 3.8,-1.5 5.5,-1.5c1.2,0 2.4,0.15 3.5,0.5V18.5z"
/>
<path
android:fillColor=
"@android:color/white"
android:pathData=
"M17.5,10.5c0.88,0 1.73,0.09 2.5,0.26V9.24C19.21,9.09 18.36,9 17.5,9c-1.7,0 -3.24,0.29 -4.5,0.83v1.66C14.13,10.85 15.7,10.5 17.5,10.5z"
/>
<path
android:fillColor=
"@android:color/white"
android:pathData=
"M13,12.49v1.66c1.13,-0.64 2.7,-0.99 4.5,-0.99c0.88,0 1.73,0.09 2.5,0.26V11.9c-0.79,-0.15 -1.64,-0.24 -2.5,-0.24C15.8,11.66 14.26,11.96 13,12.49z"
/>
<path
android:fillColor=
"@android:color/white"
android:pathData=
"M17.5,14.33c-1.7,0 -3.24,0.29 -4.5,0.83v1.66c1.13,-0.64 2.7,-0.99 4.5,-0.99c0.88,0 1.73,0.09 2.5,0.26v-1.52C19.21,14.41 18.36,14.33 17.5,14.33z"
/>
</vector>
mobile/src/main/res/drawable/ic_settings_password.xml
0 → 100644
View file @
c0047e95
<!-- https://android.googlesource.com/platform/packages/apps/Settings/+/7961482/res/drawable/ic_password.xml -->
<!--
Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportHeight=
"24.0"
android:viewportWidth=
"24.0"
>
<path
android:fillColor=
"?attr/colorControlNormal"
android:pathData=
"M21.5,9.39l-1.63,0l0.81,-1.42l-0.86,-0.5l-0.82,1.42l-0.82,-1.42l-0.86,0.5l0.81,1.42l-1.63,0l0,1l1.63,0l-0.81,1.41l0.86,0.5l0.82,-1.41l0.82,1.41l0.86,-0.5l-0.81,-1.41l1.63,0z"
/>
<path
android:fillColor=
"?attr/colorControlNormal"
android:pathData=
"M13.68,7.97l-0.86,-0.5l-0.82,1.42l-0.82,-1.42l-0.86,0.5l0.81,1.42l-1.63,0l0,1l1.63,0l-0.81,1.41l0.86,0.5l0.82,-1.41l0.82,1.41l0.86,-0.5l-0.81,-1.41l1.63,0l0,-1l-1.63,0z"
/>
<path
android:fillColor=
"?attr/colorControlNormal"
android:pathData=
"M6.68,7.97l-0.86,-0.5l-0.82,1.42l-0.82,-1.42l-0.86,0.5l0.81,1.42l-1.63,0l0,1l1.63,0l-0.81,1.41l0.86,0.5l0.82,-1.41l0.82,1.41l0.86,-0.5l-0.81,-1.41l1.63,0l0,-1l-1.63,0z"
/>
<path
android:fillColor=
"?attr/colorControlNormal"
android:pathData=
"M21,17.89H3c-0.28,0 -0.5,-0.22 -0.5,-0.5v-1c0,-0.28 0.22,-0.5 0.5,-0.5h18c0.28,0 0.5,0.22 0.5,0.5v1C21.5,17.66 21.28,17.89 21,17.89z"
/>
</vector>
mobile/src/main/res/drawable/ic_social_emoji_symbols.xml
0 → 100644
View file @
c0047e95
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24"
android:viewportHeight=
"24"
android:tint=
"?attr/colorControlNormal"
>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M3,2h8v2h-8z"
/>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M6,11l2,0l0,-4l3,0l0,-2l-8,0l0,2l3,0z"
/>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M12.4036,20.1819l7.7781,-7.7781l1.4142,1.4142l-7.7781,7.7781z"
/>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M14.5,14.5m-1.5,0a1.5,1.5 0,1 1,3 0a1.5,1.5 0,1 1,-3 0"
/>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M19.5,19.5m-1.5,0a1.5,1.5 0,1 1,3 0a1.5,1.5 0,1 1,-3 0"
/>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M15.5,11c1.38,0 2.5,-1.12 2.5,-2.5V4h3V2h-4v4.51C16.58,6.19 16.07,6 15.5,6C14.12,6 13,7.12 13,8.5C13,9.88 14.12,11 15.5,11z"
/>
<path
android:fillColor=
"#FF000000"
android:pathData=
"M9.74,15.96l-1.41,1.41l-0.71,-0.71l0.35,-0.35c0.98,-0.98 0.98,-2.56 0,-3.54c-0.49,-0.49 -1.13,-0.73 -1.77,-0.73c-0.64,0 -1.28,0.24 -1.77,0.73c-0.98,0.98 -0.98,2.56 0,3.54l0.35,0.35l-1.06,1.06c-0.98,0.98 -0.98,2.56 0,3.54C4.22,21.76 4.86,22 5.5,22s1.28,-0.24 1.77,-0.73l1.06,-1.06l1.41,1.41l1.41,-1.41l-1.41,-1.41l1.41,-1.41L9.74,15.96zM5.85,14.2c0.12,-0.12 0.26,-0.15 0.35,-0.15s0.23,0.03 0.35,0.15c0.19,0.2 0.19,0.51 0,0.71l-0.35,0.35L5.85,14.9C5.66,14.71 5.66,14.39 5.85,14.2zM5.85,19.85C5.73,19.97 5.59,20 5.5,20s-0.23,-0.03 -0.35,-0.15c-0.19,-0.19 -0.19,-0.51 0,-0.71l1.06,-1.06l0.71,0.71L5.85,19.85z"
/>
</vector>
mobile/src/main/res/xml/pref_global.xml
View file @
c0047e95
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
app:initialExpandedChildrenCount=
"4"
>
app:initialExpandedChildrenCount=
"4"
>
<SwitchPreference
<SwitchPreference
app:key=
"isAutoConnect"
app:key=
"isAutoConnect"
app:icon=
"@drawable/ic_communication_phonelink_ring"
app:summary=
"@string/auto_connect_summary"
app:summary=
"@string/auto_connect_summary"
app:title=
"@string/auto_connect"
/>
app:title=
"@string/auto_connect"
/>
<SwitchPreference
<SwitchPreference
...
@@ -17,10 +18,12 @@
...
@@ -17,10 +18,12 @@
app:title=
"TCP Fast Open"
/>
app:title=
"TCP Fast Open"
/>
<EditTextPreference
<EditTextPreference
app:key=
"hosts"
app:key=
"hosts"
app:icon=
"@drawable/ic_maps_menu_book"
app:title=
"hosts"
/>
app:title=
"hosts"
/>
<com.takisoft.preferencex.SimpleMenuPreference
<com.takisoft.preferencex.SimpleMenuPreference
app:key=
"serviceMode"
app:key=
"serviceMode"
app:icon=
"@drawable/ic_device_developer_mode"
app:entries=
"@array/service_modes"
app:entries=
"@array/service_modes"
app:entryValues=
"@array/service_mode_values"
app:entryValues=
"@array/service_mode_values"
app:defaultValue=
"vpn"
app:defaultValue=
"vpn"
...
@@ -28,6 +31,7 @@
...
@@ -28,6 +31,7 @@
app:useSimpleSummaryProvider=
"true"
/>
app:useSimpleSummaryProvider=
"true"
/>
<EditTextPreference
<EditTextPreference
app:key=
"portProxy"
app:key=
"portProxy"
app:icon=
"@drawable/ic_maps_directions_boat"
app:title=
"@string/port_proxy"
app:title=
"@string/port_proxy"
app:useSimpleSummaryProvider=
"true"
/>
app:useSimpleSummaryProvider=
"true"
/>
<EditTextPreference
<EditTextPreference
...
...
mobile/src/main/res/xml/pref_profile.xml
View file @
c0047e95
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<EditTextPreference
<EditTextPreference
app:key=
"profileName"
app:key=
"profileName"
app:icon=
"@drawable/ic_social_emoji_symbols"
app:title=
"@string/profile_name"
app:title=
"@string/profile_name"
app:useSimpleSummaryProvider=
"true"
/>
app:useSimpleSummaryProvider=
"true"
/>
...
@@ -12,16 +13,18 @@
...
@@ -12,16 +13,18 @@
<EditTextPreference
<EditTextPreference
app:key=
"proxy"
app:key=
"proxy"
app:
singleLine=
"true
"
app:
icon=
"@drawable/ic_hardware_router
"
app:title=
"@string/proxy"
app:title=
"@string/proxy"
app:useSimpleSummaryProvider=
"true"
/>
app:useSimpleSummaryProvider=
"true"
/>
<EditTextPreference
<EditTextPreference
app:key=
"remotePortNum"
app:key=
"remotePortNum"
app:icon=
"@drawable/ic_maps_directions_boat"
app:title=
"@string/remote_port"
app:title=
"@string/remote_port"
app:useSimpleSummaryProvider=
"true"
/>
app:useSimpleSummaryProvider=
"true"
/>
<EditTextPreference
<EditTextPreference
app:dialogLayout=
"@layout/preference_dialog_password"
app:dialogLayout=
"@layout/preference_dialog_password"
app:key=
"sitekey"
app:key=
"sitekey"
app:icon=
"@drawable/ic_settings_password"
app:title=
"@string/sitekey"
/>
app:title=
"@string/sitekey"
/>
<com.takisoft.preferencex.SimpleMenuPreference
<com.takisoft.preferencex.SimpleMenuPreference
app:key=
"encMethod"
app:key=
"encMethod"
...
@@ -38,6 +41,7 @@
...
@@ -38,6 +41,7 @@
<com.takisoft.preferencex.SimpleMenuPreference
<com.takisoft.preferencex.SimpleMenuPreference
app:key=
"route"
app:key=
"route"
app:icon=
"@drawable/ic_maps_directions"
app:entries=
"@array/route_entry"
app:entries=
"@array/route_entry"
app:entryValues=
"@array/route_value"
app:entryValues=
"@array/route_value"
app:title=
"@string/route_list"
app:title=
"@string/route_list"
...
@@ -82,11 +86,11 @@
...
@@ -82,11 +86,11 @@
app:key=
"plugin.configure"
app:key=
"plugin.configure"
app:icon=
"@drawable/ic_action_settings"
app:icon=
"@drawable/ic_action_settings"
app:persistent=
"false"
app:persistent=
"false"
app:singleLine=
"true"
app:title=
"@string/plugin_configure"
app:title=
"@string/plugin_configure"
app:useSimpleSummaryProvider=
"true"
/>
app:useSimpleSummaryProvider=
"true"
/>
<Preference
<Preference
app:key=
"udpFallback"
app:key=
"udpFallback"
app:icon=
"@drawable/ic_maps_360"
app:title=
"@string/udp_fallback"
app:title=
"@string/udp_fallback"
app:summary=
"@string/plugin_disabled"
>
app:summary=
"@string/plugin_disabled"
>
<intent
android:targetPackage=
"com.github.shadowsocks"
<intent
android:targetPackage=
"com.github.shadowsocks"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment