2015-09-04 00:15:03 +00:00
|
|
|
<resources>
|
2016-02-16 02:49:58 +00:00
|
|
|
|
2021-03-27 14:51:02 +00:00
|
|
|
<style name="Base.V7.OpeningTheme" parent="Theme.AppCompat.DayNight.NoActionBar"/>
|
|
|
|
|
|
|
|
<style name="Base.OpeningTheme" parent="Base.V7.OpeningTheme"/>
|
|
|
|
|
|
|
|
<style name="OpeningTheme" parent="Base.OpeningTheme">
|
2018-01-30 07:01:57 +00:00
|
|
|
<item name="colorPrimary">@android:color/transparent</item>
|
|
|
|
<item name="colorPrimaryDark">@android:color/transparent</item>
|
|
|
|
<item name="colorAccent">@android:color/transparent</item>
|
|
|
|
|
2019-01-31 17:13:00 +00:00
|
|
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
2018-01-30 07:01:57 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Base themes -->
|
2021-03-26 22:28:28 +00:00
|
|
|
<style name="Base.V7" parent="Theme.AppCompat.DayNight.NoActionBar"/>
|
|
|
|
|
|
|
|
<style name="Base" parent="Base.V7"/>
|
|
|
|
|
|
|
|
<style name="Base.V7.LightTheme" parent="Base" />
|
2021-03-26 20:46:56 +00:00
|
|
|
|
|
|
|
<style name="Base.LightTheme" parent="Base.V7.LightTheme" />
|
2020-10-09 18:24:02 +00:00
|
|
|
|
2020-09-14 08:30:41 +00:00
|
|
|
<style name="LightTheme" parent="Base.LightTheme">
|
2016-01-05 19:56:40 +00:00
|
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/light_youtube_primary_color</item>
|
2016-01-05 19:56:40 +00:00
|
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
|
|
|
<item name="android:windowBackground">@color/light_background_color</item>
|
2018-02-16 13:45:52 +00:00
|
|
|
<item name="windowBackground">@color/light_background_color</item>
|
2017-09-03 06:04:18 +00:00
|
|
|
|
|
|
|
<item name="separator_color">@color/light_separator_color</item>
|
|
|
|
<item name="contrast_background_color">@color/light_contrast_background_color</item>
|
2020-03-25 15:23:47 +00:00
|
|
|
<item name="checked_selector">@drawable/selector_checked_light</item>
|
|
|
|
<item name="focused_selector">@drawable/selector_focused_light</item>
|
|
|
|
<item name="toolbar_shadow">@drawable/toolbar_shadow_light</item>
|
|
|
|
<item name="selector">@drawable/selector_light</item>
|
2017-04-26 19:24:33 +00:00
|
|
|
<item name="colorControlHighlight">@color/light_ripple_color</item>
|
2019-04-13 07:31:32 +00:00
|
|
|
<item name="progress_horizontal_drawable">@drawable/progress_youtube_horizontal_light</item>
|
2019-04-28 20:43:54 +00:00
|
|
|
<item name="card_item_background_color">@color/light_card_item_background_color</item>
|
|
|
|
<item name="card_item_contrast_color">@color/light_card_item_contrast_color</item>
|
|
|
|
<item name="border_color">@color/light_border_color</item>
|
2020-03-25 15:23:47 +00:00
|
|
|
<item name="dashed_border">@drawable/dashed_border_light</item>
|
2017-01-17 10:37:36 +00:00
|
|
|
|
2017-09-03 06:04:18 +00:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
|
|
|
</style>
|
2017-01-17 10:37:36 +00:00
|
|
|
|
2021-03-26 22:28:28 +00:00
|
|
|
<style name="Base.V7.DarkTheme" parent="Base" />
|
2020-10-09 18:24:02 +00:00
|
|
|
|
2019-10-15 12:23:55 +00:00
|
|
|
<style name="Base.DarkTheme" parent="Base.V7.DarkTheme" />
|
2020-10-09 18:24:02 +00:00
|
|
|
|
2019-10-15 12:23:55 +00:00
|
|
|
<style name="DarkTheme" parent="Base.DarkTheme">
|
2017-01-17 10:37:36 +00:00
|
|
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/dark_youtube_primary_color</item>
|
2017-01-17 10:37:36 +00:00
|
|
|
<item name="colorAccent">@color/dark_youtube_accent_color</item>
|
|
|
|
<item name="android:windowBackground">@color/dark_background_color</item>
|
2018-02-16 13:45:52 +00:00
|
|
|
<item name="windowBackground">@color/dark_background_color</item>
|
2017-09-03 06:04:18 +00:00
|
|
|
|
|
|
|
<item name="separator_color">@color/dark_separator_color</item>
|
|
|
|
<item name="contrast_background_color">@color/dark_contrast_background_color</item>
|
2020-03-25 15:23:47 +00:00
|
|
|
<item name="checked_selector">@drawable/selector_checked_dark</item>
|
|
|
|
<item name="focused_selector">@drawable/selector_focused_dark</item>
|
|
|
|
<item name="toolbar_shadow">@drawable/toolbar_shadow_dark</item>
|
|
|
|
<item name="selector">@drawable/selector_dark</item>
|
2017-04-26 19:24:33 +00:00
|
|
|
<item name="colorControlHighlight">@color/dark_ripple_color</item>
|
2019-04-13 07:31:32 +00:00
|
|
|
<item name="progress_horizontal_drawable">@drawable/progress_youtube_horizontal_dark</item>
|
2019-04-28 20:43:54 +00:00
|
|
|
<item name="card_item_background_color">@color/dark_card_item_background_color</item>
|
|
|
|
<item name="card_item_contrast_color">@color/dark_card_item_contrast_color</item>
|
|
|
|
<item name="border_color">@color/dark_border_color</item>
|
2020-03-25 15:23:47 +00:00
|
|
|
<item name="dashed_border">@drawable/dashed_border_dark</item>
|
2017-09-03 06:04:18 +00:00
|
|
|
|
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
2017-01-17 10:37:36 +00:00
|
|
|
</style>
|
|
|
|
|
2020-10-09 18:24:02 +00:00
|
|
|
<style name="Base.V7.BlackTheme" parent="DarkTheme" />
|
|
|
|
|
|
|
|
<style name="Base.BlackTheme" parent="Base.V7.BlackTheme" />
|
|
|
|
|
2019-10-15 12:23:55 +00:00
|
|
|
<style name="BlackTheme" parent="Base.BlackTheme">
|
2017-09-03 06:04:18 +00:00
|
|
|
<item name="android:windowBackground">@color/black_background_color</item>
|
2018-02-16 13:45:52 +00:00
|
|
|
<item name="windowBackground">@color/black_background_color</item>
|
2018-01-30 07:01:57 +00:00
|
|
|
|
2017-09-03 06:04:18 +00:00
|
|
|
<item name="separator_color">@color/black_separator_color</item>
|
|
|
|
<item name="contrast_background_color">@color/black_contrast_background_color</item>
|
2019-04-28 20:43:54 +00:00
|
|
|
|
|
|
|
<item name="card_item_background_color">@color/black_card_item_background_color</item>
|
|
|
|
<item name="card_item_contrast_color">@color/black_card_item_contrast_color</item>
|
|
|
|
<item name="border_color">@color/black_border_color</item>
|
2020-03-25 15:23:47 +00:00
|
|
|
<item name="dashed_border">@drawable/dashed_border_black</item>
|
2017-09-03 06:04:18 +00:00
|
|
|
</style>
|
|
|
|
|
2018-03-08 14:50:46 +00:00
|
|
|
<!-- Dialogs -->
|
2021-03-26 14:12:20 +00:00
|
|
|
<style name="LightDialogTheme" parent="Theme.AppCompat.DayNight.Dialog">
|
2018-03-08 14:50:46 +00:00
|
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/light_youtube_primary_color</item>
|
2018-03-08 14:50:46 +00:00
|
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
|
|
|
<item name="android:windowBackground">@color/light_dialog_background_color</item>
|
|
|
|
<item name="windowBackground">@color/light_dialog_background_color</item>
|
|
|
|
</style>
|
|
|
|
|
2021-03-26 14:12:20 +00:00
|
|
|
<style name="DarkDialogTheme" parent="Theme.AppCompat.DayNight.Dialog">
|
2018-03-08 14:50:46 +00:00
|
|
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/dark_youtube_primary_color</item>
|
2018-03-08 14:50:46 +00:00
|
|
|
<item name="colorAccent">@color/dark_youtube_accent_color</item>
|
|
|
|
<item name="android:windowBackground">@color/dark_dialog_background_color</item>
|
|
|
|
<item name="windowBackground">@color/dark_dialog_background_color</item>
|
|
|
|
</style>
|
|
|
|
|
2021-03-26 14:12:20 +00:00
|
|
|
<style name="LightDialogMinWidthTheme" parent="Theme.AppCompat.DayNight.Dialog.MinWidth">
|
2019-04-28 20:43:54 +00:00
|
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/light_youtube_primary_color</item>
|
2019-04-28 20:43:54 +00:00
|
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
|
|
|
<item name="android:windowBackground">@color/light_dialog_background_color</item>
|
|
|
|
<item name="windowBackground">@color/light_dialog_background_color</item>
|
|
|
|
</style>
|
|
|
|
|
2021-03-26 14:12:20 +00:00
|
|
|
<style name="DarkDialogMinWidthTheme" parent="Theme.AppCompat.DayNight.Dialog.MinWidth">
|
2019-04-28 20:43:54 +00:00
|
|
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/dark_youtube_primary_color</item>
|
2019-04-28 20:43:54 +00:00
|
|
|
<item name="colorAccent">@color/dark_youtube_accent_color</item>
|
|
|
|
<item name="android:windowBackground">@color/dark_dialog_background_color</item>
|
|
|
|
<item name="windowBackground">@color/dark_dialog_background_color</item>
|
|
|
|
</style>
|
|
|
|
|
2018-01-27 04:41:11 +00:00
|
|
|
<!-- Settings -->
|
|
|
|
<style name="LightSettingsTheme" parent="LightTheme">
|
|
|
|
<item name="colorAccent">@color/light_settings_accent_color</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="DarkSettingsTheme" parent="DarkTheme">
|
|
|
|
<item name="colorAccent">@color/dark_settings_accent_color</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="BlackSettingsTheme" parent="BlackTheme">
|
|
|
|
<item name="colorAccent">@color/black_settings_accent_color</item>
|
|
|
|
</style>
|
|
|
|
|
2021-03-26 14:12:20 +00:00
|
|
|
<style name="OldVideoPlayerTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
|
2017-09-03 06:04:18 +00:00
|
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
2020-06-30 05:30:09 +00:00
|
|
|
<item name="colorPrimaryDark">@color/light_youtube_primary_color</item>
|
2017-09-03 06:04:18 +00:00
|
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
2015-09-04 00:15:03 +00:00
|
|
|
<item name="android:windowFullscreen">false</item>
|
|
|
|
<item name="android:windowActionBarOverlay">true</item>
|
|
|
|
<item name="windowActionBarOverlay">true</item>
|
2018-01-30 07:01:57 +00:00
|
|
|
<item name="android:actionBarStyle">@style/OldVideoPlayerActionBarTheme</item>
|
|
|
|
<item name="actionBarStyle">@style/OldVideoPlayerActionBarTheme</item>
|
2015-11-26 18:54:13 +00:00
|
|
|
<item name="android:windowBackground">@android:color/black</item>
|
2015-09-04 00:15:03 +00:00
|
|
|
</style>
|
|
|
|
|
2018-01-30 07:01:57 +00:00
|
|
|
<style name="OldVideoPlayerActionBarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid.Inverse">
|
2015-09-04 00:15:03 +00:00
|
|
|
<item name="android:displayOptions">showHome</item>
|
|
|
|
<item name="displayOptions">showHome</item>
|
2016-01-05 19:56:40 +00:00
|
|
|
<item name="android:background">@color/video_overlay_color</item>
|
|
|
|
<item name="background">@color/video_overlay_color</item>
|
2015-09-04 00:15:03 +00:00
|
|
|
</style>
|
2016-02-16 02:49:58 +00:00
|
|
|
|
2018-01-23 00:40:00 +00:00
|
|
|
<style name="RouterActivityThemeLight" parent="LightTheme">
|
|
|
|
<item name="colorPrimary">@android:color/transparent</item>
|
|
|
|
<item name="colorPrimaryDark">@android:color/transparent</item>
|
|
|
|
<item name="colorAccent">@android:color/transparent</item>
|
|
|
|
|
|
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
|
|
<item name="android:windowAnimationStyle">@null</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="RouterActivityThemeDark" parent="DarkTheme">
|
|
|
|
<item name="colorPrimary">@android:color/transparent</item>
|
|
|
|
<item name="colorPrimaryDark">@android:color/transparent</item>
|
|
|
|
<item name="colorAccent">@android:color/transparent</item>
|
|
|
|
|
2017-11-14 18:13:36 +00:00
|
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
|
|
<item name="android:windowIsTranslucent">true</item>
|
2018-01-23 00:40:00 +00:00
|
|
|
<item name="android:windowAnimationStyle">@null</item>
|
2017-11-14 18:13:36 +00:00
|
|
|
</style>
|
2019-03-09 19:32:25 +00:00
|
|
|
|
2021-03-26 22:28:28 +00:00
|
|
|
<style name="ToolbarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
|
|
<item name="android:textColorPrimary">@android:color/white</item>
|
|
|
|
<item name="android:textColorSecondary">@android:color/white</item>
|
|
|
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
2021-03-27 14:45:49 +00:00
|
|
|
<item name="tint">@color/white</item>
|
|
|
|
<item name="iconTint">@color/white</item>
|
2021-03-28 09:24:29 +00:00
|
|
|
</style>
|
|
|
|
|
2016-02-16 02:49:58 +00:00
|
|
|
</resources>
|