ui: update transitions

Update transitions in the home fragment to X-axis.

I noticed a visual issue in the detail transition in the existing
version stemming from how the main fragment's drawing is clipped by
the bottom sheet, resulting in a less-than-ideal Z-axis transition.

While I wanted to fix this by attempting to switch to inset based
bottom sheet management, I still need to wait for more changes in
order to successfully pull that off, and hence I'll be reverting it
soon.

Moving these transitions to X-axis prevents this visual issue while
still being roughly semantically similar.
This commit is contained in:
OxygenCobalt
2022-08-08 16:17:46 -06:00
parent 0cef51fa97
commit 46473ceff9
18 changed files with 67 additions and 40 deletions
@@ -6,6 +6,7 @@
android:layout_height="wrap_content"
android:background="?attr/colorSurface"
android:orientation="vertical"
android:transitionGroup="true"
tools:context=".settings.AboutFragment">
<org.oxycblt.auxio.ui.AuxioAppBarLayout
@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionGroup="true"
android:background="?attr/colorSurface">
<org.oxycblt.auxio.detail.DetailAppBarLayout
@@ -5,6 +5,7 @@
android:id="@+id/home_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionGroup="true"
android:background="?attr/colorSurface">
<org.oxycblt.auxio.ui.AuxioAppBarLayout
@@ -5,6 +5,7 @@
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionGroup="true"
android:background="?attr/colorSurface">
<androidx.fragment.app.FragmentContainerView
@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionGroup="true"
android:background="?attr/colorSurface">
<org.oxycblt.auxio.ui.AuxioAppBarLayout
@@ -3,6 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionGroup="true"
android:background="?attr/colorSurface"
android:orientation="vertical">