style: pull request refactoring

This commit is contained in:
antonio 2023-09-08 15:30:05 +02:00
parent a17de1de8d
commit c26aba8b2d
6 changed files with 67 additions and 40 deletions

View file

@ -14,7 +14,7 @@
<!-- Header -->
<ImageView
android:id="@+id/album_cover_image_view"
android:id="@+id/group_cover_image_view"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_margin="2dp"
@ -23,7 +23,7 @@
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/group_name_text_view"
android:id="@+id/group_title_text_view"
style="@style/LabelMedium"
android:layout_width="0dp"
android:layout_height="wrap_content"
@ -32,15 +32,28 @@
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:paddingStart="12dp"
android:paddingTop="8dp"
android:paddingEnd="12dp"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="@string/label_placeholder"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintBottom_toTopOf="@+id/group_subtitle_text_view"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/album_cover_image_view"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintStart_toEndOf="@+id/group_cover_image_view"
app:layout_constraintTop_toTopOf="@+id/group_cover_image_view" />
<TextView
android:id="@+id/group_subtitle_text_view"
style="@style/LabelSmall"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:text="@string/label_placeholder"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/group_cover_image_view"
app:layout_constraintTop_toBottomOf="@+id/group_title_text_view"
app:layout_constraintBottom_toBottomOf="@+id/group_cover_image_view"/>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -300,5 +300,6 @@
<string name="downloaded_bottom_sheet_shuffle">Mischen</string>
<string name="downloaded_bottom_sheet_play_next">Nächsten Titel spielen</string>
<string name="downloaded_bottom_sheet_add_to_queue">Zur Warteschlange hinzufügen</string>
<string name="downloaded_bottom_sheet_remove">Entfernen</string>
<string name="downloaded_bottom_sheet_remove_all">Alle entfernen</string>
</resources>

View file

@ -303,6 +303,7 @@
<string name="downloaded_bottom_sheet_shuffle">Shuffle</string>
<string name="downloaded_bottom_sheet_play_next">Play next</string>
<string name="downloaded_bottom_sheet_add_to_queue">Add to queue</string>
<string name="downloaded_bottom_sheet_remove">Remove</string>
<string name="downloaded_bottom_sheet_remove_all">Remove all</string>
<string name="track_info_dialog_positive_button">OK</string>
<string name="track_info_dialog_title">Track info</string>