mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
81 lines
3.4 KiB
XML
81 lines
3.4 KiB
XML
<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="match_parent"
|
|
android:paddingHorizontal="24dp">
|
|
|
|
<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
|
|
android:id="@+id/now_playing_song_lyrics_sroll_view"
|
|
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">
|
|
|
|
<TextView
|
|
android:id="@+id/now_playing_song_lyrics_text_view"
|
|
style="@style/BodyLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<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"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|