ui: make toolbar fix dedicated class

Make the toolbar spacing fixes a dedicated class.

This resolves an issue on lollipop devices where the ripple would be
clipped.
This commit is contained in:
OxygenCobalt
2022-07-03 16:23:53 -06:00
parent 9647b53f78
commit b1a8544b73
17 changed files with 78 additions and 78 deletions
+3 -2
View File
@@ -11,9 +11,10 @@
style="@style/Widget.Auxio.AppBarLayout"
app:liftOnScroll="true">
<com.google.android.material.appbar.MaterialToolbar
<org.oxycblt.auxio.ui.M3Toolbar
android:id="@+id/home_toolbar"
style="@style/Widget.Auxio.Toolbar.Actions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|enterAlways"
app:menu="@menu/menu_home"
app:title="@string/info_app_name" />