home: rework fab adaptiveness
Rework how the fab's adaptive functionality works. Handle fab adaptiveness by using a style instead of a fully custom view. This helps eliminate a usage of private resources.
This commit is contained in:
@@ -167,9 +167,14 @@
|
||||
compensate.
|
||||
2. For some reason elevation behaves strangely in the playback panel, so we disable it.
|
||||
-->
|
||||
<item name="maxImageSize">@dimen/size_playback_icon</item>
|
||||
<item name="fabSize">normal</item>
|
||||
<item name="fabCustomSize">@dimen/size_btn_large</item>
|
||||
<item name="maxImageSize">@dimen/size_playback_icon</item>
|
||||
<item name="android:elevation">0dp</item>
|
||||
<item name="elevation">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Auxio.FloatingActionButton.Adaptive" parent="Widget.Material3.FloatingActionButton.Primary">
|
||||
<item name="fabSize">normal</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user