citra-emu
/
citra-canary
Archived
1
0
Fork 0

citra_android: Use primary color for FAB

This commit is contained in:
Charles Lombardo 2023-04-14 20:46:48 -04:00
parent 2a2ee8bc96
commit 1adf631725
2 changed files with 10 additions and 0 deletions

View File

@ -28,4 +28,13 @@
<item name="labelBehavior">gone</item>
</style>
<style name="Widget.Citra.FloatingActionButton" parent="Widget.Material3.FloatingActionButton.Primary">
<item name="materialThemeOverlay">@style/ThemeOverlay.Citra.FloatingActionButton</item>
</style>
<style name="ThemeOverlay.Citra.FloatingActionButton" parent="">
<item name="colorContainer">@color/citra_primary</item>
<item name="colorOnContainer">@color/citra_onPrimary</item>
</style>
</resources>

View File

@ -45,6 +45,7 @@
<item name="popupMenuStyle">@style/CitraShapedPopup</item>
<item name="popupTheme">@style/CitraPopup</item>
<item name="sliderStyle">@style/CitraSlider</item>
<item name="floatingActionButtonStyle">@style/Widget.Citra.FloatingActionButton</item>
</style>
</resources>