frontend : completely switch to androidx
This commit is contained in:
parent
a49ab8c11e
commit
346fb64669
3 changed files with 22 additions and 20 deletions
|
|
@ -1,33 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.preference.PreferenceCategory
|
||||
android:title="@string/ryd_title">
|
||||
<SwitchPreference
|
||||
<androidx.preference.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:title="@string/ryd_enable_title"
|
||||
android:summary="@string/ryd_enable_summary"
|
||||
android:key="vx_rydyt" />
|
||||
</PreferenceCategory>
|
||||
</androidx.preference.PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
<androidx.preference.PreferenceCategory
|
||||
android:title="@string/ryd_knownissues">
|
||||
<Preference
|
||||
<androidx.preference.Preference
|
||||
android:summary="- Dislike counts might not display on Shorts videos due to limitation" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
</androidx.preference.PreferenceCategory>
|
||||
<androidx.preference.PreferenceCategory
|
||||
android:title="@string/vancedx_about">
|
||||
<Preference
|
||||
<androidx.preference.Preference
|
||||
android:title="@string/ryd_about_integration"
|
||||
android:summary="@string/ryd_about_integration_summary">
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="https://www.returnyoutubedislike.com/" />
|
||||
</Preference>
|
||||
<Preference
|
||||
</androidx.preference.Preference>
|
||||
<androidx.preference.Preference
|
||||
android:title="@string/ryd_github_repository">
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="https://github.com/Anarios/return-youtube-dislike">
|
||||
</intent>
|
||||
</Preference>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
</androidx.preference.Preference>
|
||||
</androidx.preference.PreferenceCategory>
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
|
@ -1,10 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.preference.PreferenceCategory
|
||||
android:title="SponsorBlock">
|
||||
<SwitchPreference
|
||||
<androidx.preference.SwitchPreferenceCompat
|
||||
android:title="@string/sb_enable_sb"
|
||||
android:defaultValue="false"
|
||||
android:summary="@string/sb_enable_sb_sum"
|
||||
android:key="vx_sponsorblock" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
</androidx.preference.PreferenceCategory>
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
android:title="@string/ads_settings_title">
|
||||
<com.google.android.apps.youtube.music.ui.preference.SwitchCompatPreference
|
||||
android:title="@string/ytmvancedx_musicads_removal"
|
||||
android:defaultvalue="false"
|
||||
android:defaultValue="false"
|
||||
android:key="ytmvancedx_adremoval"/>
|
||||
</com.google.android.apps.youtube.music.ui.preference.SwitchCompatPreference>
|
||||
</com.google.android.apps.youtube.music.ui.preference.PreferenceCategoryCompat>
|
||||
|
|
|
|||
Reference in a new issue