playback: make bottom sheet behavior more in-spec
Don't gradually fade out until the very end, reduce the corner radii at the very end, fix elevation, delift elevation at the very end. More tweaks are probably needed here to make it look good.
This commit is contained in:
@@ -19,6 +19,13 @@
|
||||
|
||||
<View android:id="@+id/main_scrim" android:layout_height="match_parent" android:layout_width="match_parent"/>
|
||||
|
||||
<View
|
||||
android:id="@+id/main_sheet_scrim"
|
||||
android:background="?attr/colorSurfaceContainerLow"
|
||||
android:layout_width="match_parent"
|
||||
android:alpha="0"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:id="@+id/playback_sheet"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -23,6 +23,13 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/main_sheet_scrim"
|
||||
android:background="?attr/colorSurfaceContainerLow"
|
||||
android:layout_width="match_parent"
|
||||
android:alpha="0"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:id="@+id/playback_sheet"
|
||||
android:layout_width="match_parent"
|
||||
@@ -47,7 +54,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
style="@style/Widget.Auxio.DisableDropShadows"
|
||||
android:elevation="1dp"
|
||||
app:layout_behavior="org.oxycblt.auxio.playback.queue.QueueBottomSheetBehavior">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<dimen name="slider_thumb_height">24dp</dimen>
|
||||
|
||||
<!-- Misc -->
|
||||
<dimen name="elevation_normal">6dp</dimen>
|
||||
<dimen name="elevation_normal">1dp</dimen>
|
||||
|
||||
<dimen name="fast_scroll_popup_min_width">78dp</dimen>
|
||||
<dimen name="fast_scroll_popup_min_height">64dp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user