2021-04-30 17:20:15 +00:00
|
|
|
<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>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<item name="android:windowTranslucentStatus">true</item> <!--true-->
|
2021-04-30 17:20:15 +00:00
|
|
|
<item name="android:windowTranslucentNavigation">false</item>
|
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog</item>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<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>
|
2021-04-30 17:20:15 +00:00
|
|
|
</style>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<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>
|
|
|
|
|
|
|
|
|
2021-04-30 17:20:15 +00:00
|
|
|
<style name="PreferenceTheme" parent="@style/AppTheme">
|
|
|
|
</style>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
|
2021-04-30 17:20:15 +00:00
|
|
|
<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>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<style name="AppTextViewStyle" parent="android:Widget.TextView">
|
|
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
2021-04-30 17:20:15 +00:00
|
|
|
</style>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<style name="AppButtonStyle" parent="android:Widget.Holo.Button">
|
2021-04-30 17:20:15 +00:00
|
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<style name="AppMaterialButtonStyle" parent="Widget.MaterialComponents.Button">
|
2021-04-30 17:20:15 +00:00
|
|
|
<item name="android:fontFamily">@font/google_sans</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-12 21:51:02 +00:00
|
|
|
<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>
|
2021-05-28 13:38:06 +00:00
|
|
|
<style name="AlertDialogCustom" parent="Theme.AppCompat.Dialog.Alert">
|
|
|
|
<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>
|
2021-04-30 17:20:15 +00:00
|
|
|
</resources>
|