Remove dividing line between title and options in bottom menu sheet

This commit is contained in:
Jay 2020-06-06 19:53:45 -04:00
parent 442a439e66
commit 7fc84f6924
2 changed files with 0 additions and 12 deletions

View File

@ -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))

View File

@ -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>