2022-08-26 18:39:42 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-12-20 18:15:09 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-03-25 22:33:20 +01:00
|
|
|
android:layout_height="match_parent"
|
2023-03-16 18:49:42 +01:00
|
|
|
android:paddingHorizontal="24dp">
|
2021-12-20 18:15:09 +01:00
|
|
|
|
2022-08-26 18:39:42 +02:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/empty_description_image_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:maxWidth="240dp"
|
|
|
|
|
android:maxHeight="240dp"
|
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
|
android:src="@drawable/ui_empty_description"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/title_empty_description_label"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintVertical_chainStyle="packed" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/title_empty_description_label"
|
|
|
|
|
style="@style/LabelMedium"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:text="@string/description_empty_title"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/empty_description_image_view" />
|
|
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
2024-02-17 23:44:49 +01:00
|
|
|
android:id="@+id/now_playing_song_lyrics_sroll_view"
|
2023-03-16 18:49:42 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2022-03-25 22:33:20 +01:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/now_playing_song_lyrics_text_view"
|
|
|
|
|
style="@style/BodyLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2022-08-26 18:39:42 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2022-03-25 22:33:20 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2022-08-26 18:39:42 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
2024-02-18 16:29:42 +01:00
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/sync_lyrics_tap_button"
|
|
|
|
|
style="@style/Widget.Material3.Button.TonalButton.Icon"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:insetLeft="0dp"
|
|
|
|
|
android:insetTop="0dp"
|
|
|
|
|
android:insetRight="0dp"
|
|
|
|
|
android:insetBottom="0dp"
|
|
|
|
|
app:cornerRadius="64dp"
|
|
|
|
|
android:alpha="0.7"
|
|
|
|
|
android:visibility="visible"
|
|
|
|
|
app:icon="@drawable/ic_lyrics_sync_lock"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/now_playing_song_lyrics_sroll_view"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/now_playing_song_lyrics_sroll_view" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/temp_lyrics_line_text_view"
|
|
|
|
|
style="@style/BodyLarge"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
android:visibility="invisible"/>
|
2022-08-26 18:39:42 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|