mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-15 22:34:57 +00:00
124 lines
5.7 KiB
XML
124 lines
5.7 KiB
XML
<resources>
|
|
|
|
<style name="RootTheme" parent="android:Theme.Holo"/>
|
|
|
|
<style name="PlayerTheme" parent="@style/RootTheme">
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowBackground">@android:color/black</item>
|
|
</style>
|
|
|
|
<style name="ExoPlayerButton">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:minWidth">40dp</item>
|
|
</style>
|
|
|
|
|
|
<!-- Base application theme. -->
|
|
<style name="AppTheme" parent="Theme.AppCompat.Light">
|
|
<item name="android:actionBarStyle">@style/NewPipeActionbarTheme</item>
|
|
<item name="actionBarStyle">@style/NewPipeActionbarTheme</item>
|
|
<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_white_24dp</item>
|
|
</style>
|
|
|
|
|
|
<!-- Dark Theme-->
|
|
<style name="DarkTheme" parent="Theme.AppCompat">
|
|
<item name="android:actionBarStyle">@style/NewPipeActionbarTheme</item>
|
|
<item name="actionBarStyle">@style/NewPipeActionbarTheme</item>
|
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
|
<item name="colorPrimaryDark">@color/light_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>
|
|
</style>
|
|
|
|
<style name="BlackTheme" parent="DarkTheme">
|
|
<item name="android:windowBackground">@color/black</item>
|
|
</style>
|
|
|
|
<style name="NewPipeActionbarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid">
|
|
<item name="android:displayOptions">showHome</item>
|
|
<item name="displayOptions">showHome</item>
|
|
<item name="android:background">@color/light_youtube_primary_color</item>
|
|
<item name="background">@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.NoActionBar">
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
</style>
|
|
|
|
<style name="DarkTheme.NoActionBar">
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
</style>
|
|
|
|
<style name="BlackTheme.NoActionBar">
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
|
|
|
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
|
|
|
</resources>
|