Fix compact playback visibility issues
For some reason the new system I implemented for compact playback visibility suddenly stopped working! Revert to the old system.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/playback_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:animateLayoutChanges="true"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/playback_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:animateLayoutChanges="true"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/action_play_albums"
|
||||
android:id="@+id/action_play"
|
||||
android:title="@string/label_play" />
|
||||
<item
|
||||
android:id="@+id/action_shuffle"
|
||||
|
||||
@@ -238,13 +238,13 @@
|
||||
<item name="android:padding">@dimen/padding_play_pause</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Design.BottomNavigationView" parent="">
|
||||
<item name="elevation">@dimen/design_bottom_navigation_elevation</item>
|
||||
<item name="enforceTextAppearance">false</item>
|
||||
<item name="enforceMaterialTheme">false</item>
|
||||
<item name="itemBackground">?attr/selectableItemBackgroundBorderless</item>
|
||||
<item name="itemHorizontalTranslationEnabled">true</item>
|
||||
<item name="itemIconSize">@dimen/design_bottom_navigation_icon_size</item>
|
||||
<item name="labelVisibilityMode">auto</item>
|
||||
</style>
|
||||
<style name="Widget.Design.BottomNavigationView" parent="">
|
||||
<item name="elevation">@dimen/design_bottom_navigation_elevation</item>
|
||||
<item name="enforceTextAppearance">false</item>
|
||||
<item name="enforceMaterialTheme">false</item>
|
||||
<item name="itemBackground">?attr/selectableItemBackgroundBorderless</item>
|
||||
<item name="itemHorizontalTranslationEnabled">true</item>
|
||||
<item name="itemIconSize">@dimen/design_bottom_navigation_icon_size</item>
|
||||
<item name="labelVisibilityMode">auto</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user