mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-15 14:24:59 +00:00
113 lines
5.8 KiB
XML
113 lines
5.8 KiB
XML
<resources>
|
|
|
|
<style name="RootTheme" parent="android:Theme.Holo"/>
|
|
|
|
<style name="PlayerTheme" parent="Theme.AppCompat.NoActionBar">
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowBackground">@android:color/black</item>
|
|
</style>
|
|
|
|
<!-- Base application theme. -->
|
|
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
|
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
|
<item name="android:windowBackground">@color/light_background_color</item>
|
|
<item name="thumbs_up">@drawable/ic_thumb_up_black_24dp</item>
|
|
<item name="thumbs_down">@drawable/ic_thumb_down_black_24dp</item>
|
|
<item name="audio">@drawable/ic_headset_black_24dp</item>
|
|
<item name="download">@drawable/ic_file_download_black_24dp</item>
|
|
<item name="share">@drawable/ic_share_black_24dp</item>
|
|
<item name="cast">@drawable/ic_cast_black_24dp</item>
|
|
<item name="rss">@drawable/ic_rss_feed_black_24dp</item>
|
|
<item name="search">@drawable/ic_search_black_24dp</item>
|
|
<item name="close">@drawable/ic_close_black_24dp</item>
|
|
<item name="filter">@drawable/ic_filter_list_black_24dp</item>
|
|
<item name="popup">@drawable/ic_picture_in_picture_black_24dp</item>
|
|
<item name="expand">@drawable/ic_expand_more_black_24dp</item>
|
|
<item name="collapse">@drawable/ic_expand_less_black_24dp</item>
|
|
<item name="separatorColor">@color/light_separator_color</item>
|
|
<item name="colorControlHighlight">@color/light_ripple_color</item>
|
|
</style>
|
|
|
|
|
|
<!-- Dark Theme-->
|
|
<style name="DarkTheme" parent="Theme.AppCompat.NoActionBar">
|
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
|
<item name="colorPrimaryDark">@color/dark_youtube_dark_color</item>
|
|
<item name="colorAccent">@color/dark_youtube_accent_color</item>
|
|
<item name="android:windowBackground">@color/dark_background_color</item>
|
|
<item name="thumbs_up">@drawable/ic_thumb_up_white_24dp</item>
|
|
<item name="thumbs_down">@drawable/ic_thumb_down_white_24dp</item>
|
|
<item name="audio">@drawable/ic_headset_white_24dp</item>
|
|
<item name="download">@drawable/ic_file_download_white_24dp</item>
|
|
<item name="share">@drawable/ic_share_white_24dp</item>
|
|
<item name="cast">@drawable/ic_cast_white_24dp</item>
|
|
<item name="rss">@drawable/ic_rss_feed_black_24dp</item>
|
|
<item name="search">@drawable/ic_search_white_24dp</item>
|
|
<item name="close">@drawable/ic_close_white_24dp</item>
|
|
<item name="filter">@drawable/ic_filter_list_white_24dp</item>
|
|
<item name="popup">@drawable/ic_picture_in_picture_white_24dp</item>
|
|
<item name="expand">@drawable/ic_expand_more_white_24dp</item>
|
|
<item name="collapse">@drawable/ic_expand_less_white_24dp</item>
|
|
<item name="separatorColor">@color/dark_separator_color</item>
|
|
<item name="colorControlHighlight">@color/dark_ripple_color</item>
|
|
</style>
|
|
|
|
<style name="BlackTheme" parent="DarkTheme">
|
|
<item name="android:windowBackground">@color/black</item>
|
|
<item name="separatorColor">@color/black_separator_color</item>
|
|
</style>
|
|
|
|
<style name="RedButton" parent="Widget.AppCompat.Button.Colored">
|
|
<item name="android:textColor">@color/white</item>
|
|
<item name="colorButtonNormal">@color/light_youtube_primary_color</item>
|
|
</style>
|
|
|
|
<style name="VideoPlayerTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
|
<item name="android:windowFullscreen">false</item>
|
|
<item name="android:windowActionBarOverlay">true</item>
|
|
<item name="windowActionBarOverlay">true</item>
|
|
<item name="android:actionBarStyle">@style/VideoPlayerActionBarTheme</item>
|
|
<item name="actionBarStyle">@style/VideoPlayerActionBarTheme</item>
|
|
<item name="colorAccent">@color/light_youtube_primary_color</item>
|
|
<item name="android:windowBackground">@android:color/black</item>
|
|
</style>
|
|
|
|
<style name="VideoPlayerActionBarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid.Inverse">
|
|
<item name="android:displayOptions">showHome</item>
|
|
<item name="displayOptions">showHome</item>
|
|
<item name="android:background">@color/video_overlay_color</item>
|
|
<item name="background">@color/video_overlay_color</item>
|
|
</style>
|
|
|
|
<style name="SplashScreenTheme" parent="@style/AppTheme">
|
|
<item name="android:windowBackground">@drawable/splash_screen</item>
|
|
</style>
|
|
|
|
<!-- You can also inherit from NNF_BaseTheme.Light -->
|
|
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
|
|
<!-- Set these to match your theme -->
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
|
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
|
|
|
<!-- Need to set this also to style create folder dialog -->
|
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
|
|
|
<!-- If you want to set a specific toolbar theme, do it here -->
|
|
<!-- <item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item> -->
|
|
</style>
|
|
|
|
<style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Dialog.Alert">
|
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
|
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
|
<item name="colorAccent">@color/light_youtube_accent_color</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
|
|
|
|
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
|
|
|
|
</resources>
|