mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
feat: Add play/pause button in song lists
This commit is contained in:
parent
905bb3e3c5
commit
5ab68e4a98
14 changed files with 555 additions and 135 deletions
|
|
@ -66,16 +66,21 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/play_pause_icon"
|
||||
<ToggleButton
|
||||
android:id="@+id/play_pause_button"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_marginStart="28dp"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/button_play_pause_selector"
|
||||
android:checked="false"
|
||||
android:foreground="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:text=""
|
||||
android:textOff=""
|
||||
android:textOn=""
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector"
|
||||
android:src="@drawable/ic_play" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/different_disk_divider_sector" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_number_text_view"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue