mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
161 lines
No EOL
8.6 KiB
XML
161 lines
No EOL
8.6 KiB
XML
<resources>
|
|
<!-- Base application theme. -->
|
|
<style name="AppTheme" parent="Theme.MaterialComponents.NoActionBar">
|
|
<!-- Customize your theme here. -->
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
<item name="colorAccent">@color/colorAccent</item>
|
|
<!-- <item name="android:windowBackground">@drawable/splash_background</item>-->
|
|
|
|
<item name="android:navigationBarColor">@color/darkBackground</item>
|
|
<item name="android:statusBarColor">@color/grayBackground</item>
|
|
|
|
<item name="android:textColorHint">@color/searchColor</item>
|
|
<item name="android:editTextColor">@color/textColor</item>
|
|
|
|
<item name="android:scrollbarThumbVertical">@null</item>
|
|
<item name="android:scrollbarThumbHorizontal">@null</item>
|
|
|
|
<item name="android:windowTranslucentStatus">true</item> <!--true-->
|
|
<item name="android:windowTranslucentNavigation">false</item>
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog</item>
|
|
|
|
<item name="android:textViewStyle">@style/AppTextViewStyle</item>
|
|
<item name="android:buttonStyle">@style/AppButtonStyle</item>
|
|
<item name="materialButtonStyle">@style/AppMaterialButtonStyle</item>
|
|
<item name="preferenceFragmentCompatStyle">@style/PreferenceTheme</item>
|
|
<item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
|
|
<item name="searchViewStyle">@style/AppSearchViewStyle</item>
|
|
<item name="tabStyle">@style/Theme.Widget.Tabs</item>
|
|
|
|
<item name="castExpandedControllerStyle">
|
|
@style/CustomCastExpandedController
|
|
</item>
|
|
<item name="castMiniControllerStyle">@style/CustomCastMiniController</item>
|
|
<!--<item name="mediaRouteButtonTint">?attr/colorPrimary</item>-->
|
|
|
|
<!-- DEF STYLE -->
|
|
<item name="textColor">@color/textColor</item>
|
|
<item name="colorItemSeen">@color/colorItemSeen</item>
|
|
<item name="grayTextColor">@color/grayTextColor</item>
|
|
<item name="darkBackground">@color/darkBackground</item>
|
|
<item name="bitDarkerGrayBackground">@color/bitDarkerGrayBackground</item>
|
|
<item name="grayBackground">@color/grayBackground</item>
|
|
<item name="boxItemBackground">@color/itemBackground</item>
|
|
<item name="iconColor">@color/iconColor</item>
|
|
<item name="white">#FFF</item>
|
|
</style>
|
|
|
|
<style name="AppSearchViewStyle"
|
|
parent="Theme.MaterialComponents.NoActionBar">
|
|
<item name="android:searchIcon">@drawable/search_icon</item>
|
|
<item name="android:queryHint">@string/search_hint</item>
|
|
<item name="android:background">@color/transparent</item>
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
|
</style>
|
|
<style name="AppBottomSheetDialogTheme"
|
|
parent="Theme.Design.Light.BottomSheetDialog">
|
|
<item name="bottomSheetStyle">@style/AppModalStyle</item>
|
|
</style>
|
|
|
|
<style name="AppModalStyle"
|
|
parent="Widget.Design.BottomSheet.Modal">
|
|
<item name="android:background">@drawable/rounded_dialog</item>
|
|
</style>
|
|
|
|
|
|
<style name="PreferenceTheme" parent="@style/AppTheme">
|
|
</style>
|
|
|
|
|
|
<style name="Theme.AlertDialog" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
|
<item name="android:windowBackground">@drawable/dialog__window_background</item>
|
|
<item name="textAllCaps">false</item>
|
|
</style>
|
|
|
|
<style name="AppTextViewStyle" parent="android:Widget.TextView">
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
|
</style>
|
|
|
|
<style name="AppButtonStyle" parent="android:Widget.Holo.Button">
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
|
</style>
|
|
|
|
<style name="AppMaterialButtonStyle" parent="Widget.MaterialComponents.Button">
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
|
</style>
|
|
|
|
<style name="Theme.Widget.Tabs" parent="Widget.MaterialComponents.TabLayout.Colored">
|
|
<item name="tabGravity">center</item>
|
|
<item name="backgroundTint">@color/transparent</item>
|
|
<item name="tabIndicator">@drawable/tab_selector</item>
|
|
<item name="tabIndicatorColor">@color/colorPrimary</item>
|
|
<item name="tabTextColor">@color/colorPrimary</item>
|
|
<item name="tabIndicatorFullWidth">false</item>
|
|
<item name="tabIndicatorHeight">3dp</item>
|
|
<item name="tabInlineLabel">true</item>
|
|
<item name="tabMinWidth">75dp</item>
|
|
<item name="tabMode">scrollable</item>
|
|
</style>
|
|
<style name="AlertDialogCustom" parent="Theme.AppCompat.Dialog.Alert">
|
|
<item name="android:windowFullscreen">true</item>
|
|
<item name="android:textColor">@color/textColor</item>
|
|
<item name="android:textColorPrimary">@color/textColor</item>
|
|
<!--<item name="android:background">@color/darkBackground</item>-->
|
|
<item name="android:textAllCaps">false</item>
|
|
<!--<item name="android:colorBackground">@color/darkBackground</item>-->
|
|
<item name="textColorAlertDialogListItem">@color/textColor</item>
|
|
<item name="colorControlNormal">@color/textColor</item>
|
|
<!-- colorPrimarySecond used because colorPrimary fails for no reason -->
|
|
<item name="colorControlActivated">@color/colorPrimarySecond</item>
|
|
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
|
<item name="android:windowBackground">@drawable/dialog__window_background</item>
|
|
</style>
|
|
<style name="AlertDialogCustomTransparent" parent="Theme.AppCompat.Dialog.Alert">
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
</style>
|
|
|
|
<style name="PopupMenu" parent="@android:style/Widget.PopupMenu">
|
|
<item name="android:backgroundTint">?attr/bitDarkerGrayBackground</item>
|
|
</style>
|
|
|
|
<!-- CHROMECAST -->
|
|
<style name="CustomCastExpandedController" parent="CastExpandedController">
|
|
<item name="castControlButtons">
|
|
@array/cast_expanded_controller_control_buttons
|
|
</item>
|
|
<item name="castButtonColor">@null</item>
|
|
<item name="castSeekBarProgressAndThumbColor">@color/white</item>
|
|
<item name="castSeekBarSecondaryProgressColor">?attr/darkBackground</item> <!--CHECK-->
|
|
<item name="castBackground">?attr/colorPrimary</item>
|
|
<item name="castProgressBarColor">?attr/colorPrimary</item>
|
|
<item name="castPlayButtonDrawable">@drawable/ic_baseline_play_arrow_24</item>
|
|
<item name="castPauseButtonDrawable">@drawable/netflix_pause</item>
|
|
<item name="castStopButtonDrawable">@drawable/cast_ic_expanded_controller_stop</item>
|
|
<item name="castSkipPreviousButtonDrawable">@drawable/cast_ic_expanded_controller_skip_previous</item>
|
|
<item name="castSkipNextButtonDrawable">@drawable/cast_ic_expanded_controller_skip_next</item>
|
|
<item name="castRewind30ButtonDrawable">@drawable/go_back_30</item>
|
|
<item name="castForward30ButtonDrawable">@drawable/go_forward_30</item>
|
|
</style>
|
|
<style name="CustomCastMiniController" parent="CastMiniController">
|
|
<item name="castMiniControllerLoadingIndicatorColor">?attr/colorPrimary</item>
|
|
<item name="castShowImageThumbnail">true</item>
|
|
|
|
<item name="castTitleTextAppearance">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="castSubtitleTextAppearance">@style/TextAppearance.AppCompat.Caption</item>
|
|
<item name="castBackground">@color/transparent</item> <!--CHECK bitDarkerGrayBackground darkBackground-->
|
|
<item name="castProgressBarColor">?attr/colorPrimary</item>
|
|
<item name="castStopButtonDrawable">@drawable/cast_ic_mini_controller_stop</item>'
|
|
<item name="castLargeStopButtonDrawable">@drawable/cast_ic_mini_controller_stop_large</item>
|
|
<item name="castSkipPreviousButtonDrawable">@drawable/cast_ic_mini_controller_skip_prev</item>
|
|
<item name="castSkipNextButtonDrawable">@drawable/cast_ic_mini_controller_skip_next</item>
|
|
<item name="castRewind30ButtonDrawable">@drawable/go_back_30</item>
|
|
<item name="castForward30ButtonDrawable">@drawable/go_forward_30</item>
|
|
<item name="castMuteToggleButtonDrawable">@drawable/cast_ic_mini_controller_mute</item>
|
|
<item name="castClosedCaptionsButtonDrawable">@drawable/cast_ic_mini_controller_closed_caption</item>
|
|
</style>
|
|
</resources> |