<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="159dp"
|
android:layout_height="52dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginTop="24dp"
|
android:elevation="2dp"
|
android:id="@+id/cl_voice"
|
android:background="@drawable/bg_blue_8dp">
|
<ImageView
|
android:id="@+id/iv1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/yuyin"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="25dp"/>
|
<ImageView
|
android:id="@+id/iv2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/play"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="23dp"/>
|
<ImageView
|
android:id="@+id/iv_playing"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:visibility="gone"
|
android:src="@mipmap/bofangzhong"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:id="@+id/cl_1"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:padding="4dp"
|
android:elevation="2dp"
|
app:layout_constraintDimensionRatio="6:4"
|
app:layout_constraintTop_toBottomOf="@id/cl_voice"
|
android:layout_marginTop="40dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginBottom="100dp"
|
android:background="@drawable/bg_white_8dp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="10dp">
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:id="@+id/iv_1"
|
app:actualImageScaleType="centerCrop"
|
android:layout_height="match_parent"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|