ui: fix toolbar state not persisting

Fix an issue where the collapsing toolbar would not preserve it's state
when navigating.

Apparently you need to add an ID to a view to get it's state to be
restored. There is no warning for this at all. Android, everyone.
This commit is contained in:
OxygenCobalt
2022-06-13 10:40:28 -06:00
parent e914da4bd1
commit 543a3ebffb
2 changed files with 3 additions and 2 deletions
@@ -2,6 +2,7 @@
<org.oxycblt.auxio.ui.EdgeCoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/home_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">