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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user