|
@@ -6,17 +6,12 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="70dp">
|
|
|
|
|
|
- <com.opensource.svgaplayer.SVGAImageView
|
|
|
- android:id="@+id/svgaImageView"
|
|
|
- android:layout_height="18dp"
|
|
|
- android:layout_width="18dp"
|
|
|
- app:source="music.svga"
|
|
|
- app:autoPlay="true"
|
|
|
- app:loopCount="0"
|
|
|
- android:visibility="invisible"
|
|
|
- android:background="#fff"
|
|
|
- android:layout_marginTop="-16dp"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivPlay"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="16dp"
|
|
|
+ android:src="@mipmap/ic_music_stop"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
@@ -25,8 +20,9 @@
|
|
|
android:id="@+id/tvName"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/svgaImageView"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/svgaImageView"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/ivPlay"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
android:layout_marginEnd="@dimen/dp_40"
|
|
|
android:lines="1"
|
|
|
android:maxWidth="200dp"
|
|
@@ -36,11 +32,26 @@
|
|
|
android:textColor="#131b23"
|
|
|
android:layout_marginStart="@dimen/dp_10"/>
|
|
|
|
|
|
+ <com.opensource.svgaplayer.SVGAImageView
|
|
|
+ android:id="@+id/svgaImageView"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:layout_width="18dp"
|
|
|
+ app:source="music.svga"
|
|
|
+ app:autoPlay="true"
|
|
|
+ app:loopCount="0"
|
|
|
+ android:visibility="invisible"
|
|
|
+ android:background="#fff"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/tvName"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
+
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvDuration"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/svgaImageView"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/ivPlay"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvName"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_4"
|