add vancedx_prefs.xml
This commit is contained in:
parent
3ece32e432
commit
af2abc7e33
5 changed files with 279 additions and 1 deletions
|
|
@ -9,6 +9,6 @@
|
|||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.VancedIntegrations"
|
||||
tools:targetApi="31" />
|
||||
tools:targetApi="34" />
|
||||
|
||||
</manifest>
|
||||
BIN
app/src/main/res/drawable/yt_outline_sparkle_white_24.png
Normal file
BIN
app/src/main/res/drawable/yt_outline_sparkle_white_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 801 B |
226
app/src/main/res/drawable/yt_outline_youtube_shorts_white_24.xml
Normal file
226
app/src/main/res/drawable/yt_outline_youtube_shorts_white_24.xml
Normal file
|
|
@ -0,0 +1,226 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="48"
|
||||
android:width="48dp"
|
||||
android:height="48dp">
|
||||
<path
|
||||
android:pathData="M9.5 24L10.5 26L9.5 24Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.9411765"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.9411765"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M14.5 26L13.5 28L14.5 26Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.9411765"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.9411765"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M36.5 5L38.5 8L36 7.5L36.5 5Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.7529412"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.7529412"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M33.5 19L34.5 21L33.5 19Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.7529412"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.7529412"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M36.5 21L38.5 24L36 23.5L36.5 21Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.7529412"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.7529412"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M10.5 23Q15 25 11.5 27L10.5 23Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.7529412"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.7529412"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M10.5 39L11.5 41L9 40.5L10.5 39Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.7529412"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.7529412"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M28.5 4L30 4.5L27.5 6L28.5 4Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M37.5 5L38.5 7L37.5 5Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M30.5 6L34 6.5L27.5 9L28.5 7L30.5 6Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M35.5 7L36.5 9L35.5 7Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M37.5 10L38 12.5L37 12.5L37.5 10Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M15.5 11L14.5 13L12.5 14L13.5 12L15.5 11Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M10.5 14L9 16.5L8.5 18L8 16.5L10.5 14Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M15.5 14L14.5 16L11 18.5L10.5 20L10 18.5L15.5 14Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M36.5 14L34.5 17L36.5 14Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M39.5 14L40 15.5L35 19.5L35.5 21Q32.5 19.5 35.5 18L39 15.5L39.5 14Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M20.5 18L24 20.5L22.5 20L20.5 18Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M10.5 21L14 25.5L10 22.5L10.5 21Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M37.5 21L38.5 23L37.5 21Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M8.5 23L11.5 27L14 28.5L9 32.5L8.5 34L8 32.5L13 28.5L8 24.5L8.5 23Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M35.5 23L36.5 25L35.5 23Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M27.5 25L26.5 27L24.5 28L25.5 26L27.5 25Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M37.5 26L38 29.5L34 32.5Q37.6 31.1 37.5 26Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M15.5 30L14.5 32L11 34.5L10.5 36L10 34.5L15.5 30Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M38.5 32L36.5 35L34.5 36L35.5 34L38.5 32Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M10.5 37L13.5 41L15 41.5L13.5 42L10 38.5L10.5 37Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M22.5 38L21.5 40L16.5 42L16.5 41L22.5 38Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M8.5 39L11.5 43L13 43.5L11.5 44L8 40.5L8.5 39Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M22.5 41L21.5 43L18.5 44L18.5 43L22.5 41Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.1921569"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeAlpha="0.1921569"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M29.5 5Q37.5 3.5 39 8.5Q40.5 16.5 35.5 18L33 19.5L39 24.5Q40.5 32.5 35.5 34L15.5 44L9 39.5L8 36.5L12.5 30L15 28.5L9 23.5L8 20.5L12.5 14L29.5 5ZM30 6L13 15Q9 17 10 24L17 29L10 34Q9 41 13 42L19 42L36 33Q40 32 38 25L34 21Q30 22 31 20L36 17Q40 16 38 9Q37 5 30 6Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeWidth="1" />
|
||||
<path
|
||||
android:pathData="M20 20L28 23Q29.1 25.7 26.5 25L20 28L20 20Z"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeWidth="1" />
|
||||
</vector>
|
||||
|
|
@ -1,3 +1,8 @@
|
|||
<resources>
|
||||
<string name="app_name">Vanced+ Integrations</string>
|
||||
<string name="microg_notification_settings">Notification settings</string>
|
||||
<string name="microg_notification_settings_summary">"1. Google device registration and Cloud Messaging need to be enabled for notifications.
|
||||
2. YouTube Vanced+ needs to be shown as registered under Cloud Messaging.
|
||||
3. Current State in Cloud Messaging must be Connected."</string>
|
||||
<string name="microg_settings">Vanced+ microG settings (non-root)</string>
|
||||
</resources>
|
||||
|
|
@ -1,4 +1,51 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory
|
||||
android:title="Vanced+ microG settings"/>
|
||||
<Preference
|
||||
android:title="Receive notifications"
|
||||
android:summary="@string/microg_notification_settings_summary"/>
|
||||
<intent android:targetPackage="com.mgoogle.android.gms"
|
||||
android:targetClass="org.microg.gms.ui.SettingsActivity"/>
|
||||
<Preference
|
||||
android:title="Google Account Manager"
|
||||
android:summary="Open Vanced+ microG GAM settings"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="Vanced+ settings [EXPERIMENTAL]"/>
|
||||
<Preference
|
||||
android:title="Advertisement"
|
||||
android:summary="Ads related settings"/>
|
||||
<Preference
|
||||
android:title="Shorts"
|
||||
android:summary="YouTube Shorts specific features"/>
|
||||
<Preference
|
||||
android:title="Video"
|
||||
android:summary="Video settings"/>
|
||||
<Preference
|
||||
android:title="Miscellaneous"
|
||||
android:summary="Other miscellaneous settings"/>
|
||||
<PreferenceCategory
|
||||
android:title="About"/>
|
||||
<Preference
|
||||
android:title="Cuynu"
|
||||
android:summary="YouTube Vanced+ only maintainer tries to against ReVanced"/>
|
||||
<Preference
|
||||
android:title="YouTube Vanced+ project (GitLab)"
|
||||
android:summary="View our project in GitLab"/>
|
||||
<Preference
|
||||
android:title="YouTube Vanced+ project"
|
||||
android:summary="View our project in GitHub"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="Patch information"/>
|
||||
<Preference
|
||||
android:summary="Current modified YouTube app was patched using these dependency :"/>
|
||||
<Preference
|
||||
android:title="vancedx-patches"
|
||||
android:summary="v1.1.0-cuynu"/>
|
||||
<Preference
|
||||
android:title="vancedx-integrations"
|
||||
android:summary="v1.3.0-cuynu"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in a new issue