mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 12:11:49 +01:00
Remove dividing line between title and options in bottom menu sheet
This commit is contained in:
parent
442a439e66
commit
7fc84f6924
@ -121,9 +121,6 @@ class MaterialMenuSheet(
|
||||
elevationAnimator = ObjectAnimator.ofFloat(
|
||||
title_layout, "elevation", title_layout.elevation, if (elevate) 10f else 0f
|
||||
)
|
||||
ObjectAnimator.ofFloat(
|
||||
bottom_divider, "alpha", bottom_divider.alpha, if (elevate) 0f else 1f
|
||||
).start()
|
||||
elevationAnimator?.start()
|
||||
}
|
||||
elevate(menu_scroll_view.canScrollVertically(-1))
|
||||
|
@ -58,14 +58,5 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="Title Text" />
|
||||
|
||||
<View
|
||||
android:id="@+id/bottom_divider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/divider"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user