Add actionmenu extension function

Simplify menu creation by using a Fragment extension to create a new ActionMenu.
This commit is contained in:
OxygenCobalt
2021-02-07 18:54:04 -07:00
parent eb5292d083
commit 26dd1036ec
27 changed files with 67 additions and 80 deletions
@@ -91,7 +91,7 @@
android:layout_height="@dimen/size_play_pause_compact"
android:layout_marginEnd="@dimen/margin_mid_small"
android:background="@drawable/ui_unbounded_ripple"
android:contentDescription="@{playbackModel.isPlaying ? @string/description_pause : @string/description_play}"
android:contentDescription="@string/description_play_pause"
android:onClick="@{() -> playbackModel.invertPlayingStatus()}"
android:tint="@color/control_color"
app:layout_constraintBottom_toBottomOf="parent"