86 lines
3.8 KiB
XML
86 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2016 Hippo Seven
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<style name="Base.AppTheme" parent="Theme.Material3.DynamicColors.DayNight">
|
|
<item name="dividerColor">@color/divider</item>
|
|
<item name="tagGroupBackgroundColor">?attr/colorPrimaryContainer</item>
|
|
<item name="tagBackgroundColor">?attr/colorTertiaryContainer</item>
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Rikka.Material3</item>
|
|
<item name="snackbarStyle">@style/Snackbar</item>
|
|
<item name="snackbarButtonStyle">@style/SnackbarButton</item>
|
|
<item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
|
|
|
|
<!-- Window No Action Bar -->
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
<!-- Transparent Status Bar -->
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
|
|
<!-- Transparent Navigation Bar -->
|
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item>
|
|
|
|
<!-- Apply blur on Android 12 above -->
|
|
<item name="materialCalendarTheme">@style/MaterialCalendarTheme</item>
|
|
<item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
|
|
<item name="materialAlertDialogTheme">@style/MaterialAlertDialogTheme</item>
|
|
</style>
|
|
|
|
<style name="ThemeOverlay" />
|
|
|
|
<style name="ThemeOverlay.Black">
|
|
<item name="colorSurface">@android:color/black</item>
|
|
<item name="colorPrimaryDark">@android:color/black</item>
|
|
<item name="android:colorBackground">@android:color/black</item>
|
|
<item name="dividerColor">@color/divider_black</item>
|
|
</style>
|
|
|
|
<style name="RatingBarTheme" parent="ThemeOverlay.Material3">
|
|
<item name="colorControlNormal">@color/yellow_800</item>
|
|
<item name="colorControlActivated">@color/yellow_800</item>
|
|
</style>
|
|
|
|
<style name="SnackbarTheme" parent="ThemeOverlay.Material3.Snackbar">
|
|
<item name="colorPrimary">?attr/colorPrimaryInverse</item>
|
|
<item name="colorOnSurface">?attr/colorSurfaceInverse</item>
|
|
</style>
|
|
|
|
<!-- Apply blur on Android 12 above -->
|
|
<style name="BottomSheetDialogTheme" parent="ThemeOverlay.Material3.BottomSheetDialog">
|
|
<item name="android:windowBlurBehindEnabled" tools:targetApi="s">true</item>
|
|
<item name="android:windowBlurBehindRadius" tools:ignore="PxUsage" tools:targetApi="s">
|
|
20px
|
|
</item>
|
|
</style>
|
|
|
|
<style name="MaterialAlertDialogTheme" parent="ThemeOverlay.Material3.MaterialAlertDialog">
|
|
<item name="android:windowBlurBehindEnabled" tools:targetApi="s">true</item>
|
|
<item name="android:windowBlurBehindRadius" tools:ignore="PxUsage" tools:targetApi="s">
|
|
20px
|
|
</item>
|
|
</style>
|
|
|
|
<style name="MaterialCalendarTheme" parent="ThemeOverlay.Material3.MaterialCalendar">
|
|
<item name="android:windowBlurBehindEnabled" tools:targetApi="s">true</item>
|
|
<item name="android:windowBlurBehindRadius" tools:ignore="PxUsage" tools:targetApi="s">
|
|
20px
|
|
</item>
|
|
</style>
|
|
</resources>
|