<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.motion.widget.MotionLayout 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:id="@+id/motion"
|
app:layoutDescription="@xml/scene_fragment_listen_voice">
|
|
<androidx.constraintlayout.widget.Guideline
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/center"
|
app:layout_constraintGuide_percent="0.5"
|
android:orientation="vertical"/>
|
<androidx.constraintlayout.motion.widget.MotionLayout
|
android:id="@+id/cl_1"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:padding="4dp"
|
android:elevation="2dp"
|
app:layout_constraintDimensionRatio="333:259"
|
android:layout_marginTop="96dp"
|
app:layout_constraintHorizontal_chainStyle="packed"
|
android:background="@drawable/bg_white_8dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/center"
|
android:layout_marginEnd="11dp"
|
app:layoutDescription="@xml/fragment_listen_scene_result_1"
|
android:layout_marginBottom="8dp"
|
app:layout_constraintBottom_toTopOf="@id/cl_3">
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:background="@color/white"
|
android:id="@+id/top_1"
|
app:layout_constraintTop_toTopOf="parent"/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:id="@+id/iv_1"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/top_1"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/result_1"/>
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|
<androidx.constraintlayout.motion.widget.MotionLayout
|
android:id="@+id/cl_2"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:elevation="2dp"
|
app:layout_constraintDimensionRatio="333:259"
|
android:padding="4dp"
|
app:layoutDescription="@xml/fragment_listen_scene_result_2"
|
app:layout_constraintStart_toEndOf="@id/center"
|
android:layout_marginStart="8dp"
|
android:background="@drawable/bg_white_8dp"
|
app:layout_constraintTop_toTopOf="@id/cl_1"
|
app:layout_constraintBottom_toBottomOf="@id/cl_1">
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:id="@+id/top_2"
|
android:background="@color/white"
|
app:layout_constraintTop_toTopOf="parent"/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:id="@+id/iv_2"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/top_2"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/result_2"/>
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|
<androidx.constraintlayout.motion.widget.MotionLayout
|
android:id="@+id/cl_3"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:padding="4dp"
|
android:elevation="2dp"
|
android:layout_marginBottom="10dp"
|
app:layoutDescription="@xml/fragment_listen_scene_result_3"
|
app:layout_constraintStart_toStartOf="@id/cl_1"
|
app:layout_constraintEnd_toEndOf="@id/cl_1"
|
android:background="@drawable/bg_white_8dp"
|
app:layout_constraintTop_toBottomOf="@id/cl_1"
|
app:layout_constraintBottom_toBottomOf="parent">
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:id="@+id/top_3"
|
android:background="@color/white"
|
app:layout_constraintTop_toTopOf="parent"/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:id="@+id/iv_3"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/top_3"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="@id/iv_3"
|
app:layout_constraintEnd_toEndOf="@id/iv_3"
|
app:layout_constraintTop_toTopOf="@id/iv_3"
|
app:layout_constraintBottom_toBottomOf="@id/iv_3"
|
android:id="@+id/result_3"
|
/>
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|
<androidx.constraintlayout.motion.widget.MotionLayout
|
android:id="@+id/cl_4"
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:elevation="2dp"
|
android:padding="4dp"
|
app:layout_constraintStart_toStartOf="@id/cl_2"
|
app:layout_constraintEnd_toEndOf="@id/cl_2"
|
app:layoutDescription="@xml/fragment_listen_scene_result_4"
|
android:background="@drawable/bg_white_8dp"
|
app:layout_constraintTop_toTopOf="@id/cl_3"
|
app:layout_constraintBottom_toBottomOf="@id/cl_3">
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:id="@+id/top_4"
|
android:background="@color/white"
|
app:layout_constraintTop_toTopOf="parent"/>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:id="@+id/iv_4"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/top_4"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/result_4" />
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="230dp"
|
android:layout_height="40dp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginTop="24dp"
|
android:elevation="2dp"
|
android:id="@+id/cl_voice"
|
android:background="@drawable/bg_white_8dp">
|
<androidx.constraintlayout.widget.Guideline
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/center_v"
|
android:orientation="vertical"
|
app:layout_constraintGuide_percent="0.5"/>
|
<ImageView
|
android:id="@+id/iv1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/yuyin_2"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/center_v"
|
android:layout_marginEnd="25dp"/>
|
<ImageView
|
android:id="@+id/iv2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/play_2"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toEndOf="@id/center_v"
|
android:layout_marginStart="25dp"/>
|
<ImageView
|
android:id="@+id/iv_playing"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:visibility="gone"
|
android:src="@mipmap/bofangzhong_2"
|
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.motion.widget.MotionLayout>
|