Rearrange xml entries for layout

This commit is contained in:
Prathamesh More 2021-09-16 18:29:31 +05:30
parent 9aa897fe7d
commit 9f6ecc267b
59 changed files with 226 additions and 225 deletions

View file

@ -22,26 +22,26 @@
android:id="@+id/titleContainer"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:clickable="false"
android:orientation="vertical"
app:layout_constraintBottom_toTopOf="@+id/progressSlider"
app:layout_constraintEnd_toStartOf="@+id/playerMenu"
app:layout_constraintStart_toEndOf="@+id/songFavourite"
android:clickable="false"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:ellipsize="marquee"
android:focusable="true"
android:gravity="center"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:textAppearance="@style/TextViewHeadline6"
android:textColor="@color/md_white_1000"
android:textStyle="bold"
android:clickable="true"
android:focusable="true"
tools:text="@tools:sample/lorem/random" />
<com.google.android.material.textview.MaterialTextView
@ -49,7 +49,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="0.75"
android:clickable="true"
android:ellipsize="end"
android:focusable="true"
android:gravity="center"
android:maxLines="1"
android:paddingTop="6dp"
@ -59,8 +61,6 @@
app:layout_constraintStart_toEndOf="@+id/songFavourite"
app:layout_constraintTop_toBottomOf="@+id/title"
tools:layout_editor_absoluteX="48dp"
android:clickable="true"
android:focusable="true"
tools:text="@tools:sample/lorem/random" />
</LinearLayout>
@ -96,10 +96,10 @@
<androidx.appcompat.widget.AppCompatSeekBar
android:id="@+id/progressSlider"
android:layout_width="0dp"
android:maxHeight="2dp"
android:progressDrawable="@drawable/color_progress_seek"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:maxHeight="2dp"
android:progressDrawable="@drawable/color_progress_seek"
app:layout_constraintEnd_toStartOf="@id/songTotalTime"
app:layout_constraintStart_toEndOf="@id/songCurrentProgress"
app:layout_constraintTop_toBottomOf="@id/titleContainer"