2020-12-05 21:31:12 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/bottom_sheet_peek_height"
|
|
|
|
|
android:elevation="2dp"
|
|
|
|
|
android:background="@color/almostCardColor">
|
|
|
|
|
|
2021-04-12 12:43:34 +02:00
|
|
|
<ToggleButton
|
2020-12-05 21:31:12 +01:00
|
|
|
android:id="@+id/player_header_button"
|
2021-04-12 12:43:34 +02:00
|
|
|
android:layout_width="38dp"
|
|
|
|
|
android:layout_height="38dp"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:layout_marginStart="20dp"
|
2021-04-12 12:43:34 +02:00
|
|
|
android:background="@drawable/button_play_pause_selector"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textOff=""
|
|
|
|
|
android:textOn=""
|
2020-12-05 21:31:12 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/player_header_song_title_label"
|
2020-12-08 11:12:44 +01:00
|
|
|
android:layout_width="0dp"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:paddingStart="12dp"
|
2020-12-08 11:12:44 +01:00
|
|
|
android:paddingEnd="24dp"
|
|
|
|
|
android:text="@string/label_placeholder"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="14sp"
|
2020-12-08 11:12:44 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/player_header_button"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-12-05 21:31:12 +01:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/player_header_song_artist_label"
|
2020-12-08 11:12:44 +01:00
|
|
|
android:layout_width="0dp"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="12dp"
|
2020-12-08 11:12:44 +01:00
|
|
|
android:paddingEnd="24dp"
|
|
|
|
|
android:text="@string/label_placeholder"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:textColor="@color/subtitleTextColor"
|
|
|
|
|
android:textSize="12sp"
|
2020-12-08 11:12:44 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-12-05 21:31:12 +01:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/player_header_button"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/player_header_song_title_label" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|