Fully transparent navbar

main
Prathamesh More 2021-10-21 21:27:14 +05:30
parent 9628255b8f
commit 79238ede7a
3 changed files with 8 additions and 3 deletions

View File

@ -12,7 +12,7 @@
~ See the GNU General Public License for more details. ~ See the GNU General Public License for more details.
--> -->
<resources> <resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.RetroMusic.Base.Adaptive" parent="Theme.Material3.DayNight.NoActionBar"> <style name="Theme.RetroMusic.Base.Adaptive" parent="Theme.Material3.DayNight.NoActionBar">
<item name="md_background_color">?attr/colorSurface</item> <item name="md_background_color">?attr/colorSurface</item>
@ -34,5 +34,6 @@
<item name="floatingActionButtonStyle"> <item name="floatingActionButtonStyle">
@style/Widget.MaterialComponents.FloatingActionButton @style/Widget.MaterialComponents.FloatingActionButton
</item> </item>
<item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item>
</style> </style>
</resources> </resources>

View File

@ -12,7 +12,7 @@
~ See the GNU General Public License for more details. ~ See the GNU General Public License for more details.
--> -->
<resources> <resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.RetroMusic.Base.Adaptive" parent="Theme.Material3.DayNight.NoActionBar"> <style name="Theme.RetroMusic.Base.Adaptive" parent="Theme.Material3.DayNight.NoActionBar">
<item name="md_background_color">?attr/colorSurface</item> <item name="md_background_color">?attr/colorSurface</item>
@ -33,5 +33,6 @@
<item name="floatingActionButtonStyle"> <item name="floatingActionButtonStyle">
@style/Widget.MaterialComponents.FloatingActionButton @style/Widget.MaterialComponents.FloatingActionButton
</item> </item>
<item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item>
</style> </style>
</resources> </resources>

View File

@ -12,7 +12,7 @@
~ See the GNU General Public License for more details. ~ See the GNU General Public License for more details.
--> -->
<resources> <resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.RetroMusic.Base.Adaptive" parent="Theme.Material3.DayNight.NoActionBar"> <style name="Theme.RetroMusic.Base.Adaptive" parent="Theme.Material3.DayNight.NoActionBar">
<item name="android:windowActionBarOverlay">true</item> <item name="android:windowActionBarOverlay">true</item>
@ -32,6 +32,7 @@
<item name="floatingActionButtonStyle"> <item name="floatingActionButtonStyle">
@style/Widget.MaterialComponents.FloatingActionButton @style/Widget.MaterialComponents.FloatingActionButton
</item> </item>
<item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item>
</style> </style>
<style name="Theme.RetroMusic.Base" parent="Theme.Material3.DayNight.NoActionBar"> <style name="Theme.RetroMusic.Base" parent="Theme.Material3.DayNight.NoActionBar">
@ -57,6 +58,7 @@
<item name="floatingActionButtonStyle"> <item name="floatingActionButtonStyle">
@style/Widget.MaterialComponents.FloatingActionButton @style/Widget.MaterialComponents.FloatingActionButton
</item> </item>
<item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item>
</style> </style>
<style name="Theme.RetroMusic.Base.Light" parent="Theme.Material3.Light.NoActionBar"> <style name="Theme.RetroMusic.Base.Light" parent="Theme.Material3.Light.NoActionBar">
@ -79,5 +81,6 @@
<item name="floatingActionButtonStyle"> <item name="floatingActionButtonStyle">
@style/Widget.MaterialComponents.FloatingActionButton @style/Widget.MaterialComponents.FloatingActionButton
</item> </item>
<item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item>
</style> </style>
</resources> </resources>