| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:id="@+id/motion" |
| | | app:layoutDescription="@xml/scene_fragment_listen_voice"> |
| | | app:layoutDescription="@xml/scene_fragment_match"> |
| | | |
| | | <androidx.constraintlayout.widget.Guideline |
| | | android:layout_width="wrap_content" |
| | |
| | | android:id="@+id/line4" |
| | | app:layout_constraintGuide_percent="0.8" |
| | | android:orientation="vertical"/> |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:id="@+id/tv_name" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="70dp" |
| | | android:textSize="16sp" |
| | | android:textColor="@color/black" |
| | | android:textStyle="bold"/> |
| | | <androidx.constraintlayout.motion.widget.MotionLayout |
| | | android:id="@+id/cl_1" |
| | | android:layout_width="0dp" |
| | |
| | | android:padding="4dp" |
| | | android:elevation="2dp" |
| | | app:layout_constraintDimensionRatio="333:259" |
| | | android:layout_marginTop="96dp" |
| | | android:layout_marginTop="104dp" |
| | | app:layout_constraintHorizontal_chainStyle="packed" |
| | | app:layout_constraintVertical_chainStyle="packed" |
| | | android:background="@drawable/bg_white_8dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintEnd_toStartOf="@id/center" |
| | |
| | | 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" |
| | | android:background="@drawable/bg_white_8dp" |
| | | android:layout_marginBottom="10dp" |
| | | app:layout_constraintBottom_toBottomOf="parent"> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android:layout_height="52dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:elevation="2dp" |
| | | android:id="@+id/cl_voice" |
| | | android:id="@+id/cl_voice_1" |
| | | app:layout_constraintStart_toStartOf="@id/line1" |
| | | app:layout_constraintEnd_toEndOf="@id/line1" |
| | | android:layout_marginTop="15dp" |
| | | android:background="@drawable/bg_blue_8dp"> |
| | | <ImageView |
| | | android:id="@+id/iv1" |
| | | android:id="@+id/iv1_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:src="@mipmap/yuyin" |
| | |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginStart="25dp"/> |
| | | <ImageView |
| | | android:id="@+id/iv2" |
| | | android:id="@+id/iv2_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:src="@mipmap/play" |
| | |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginEnd="23dp"/> |
| | | <ImageView |
| | | android:id="@+id/iv_playing" |
| | | android:id="@+id/iv_playing_1" |
| | | 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:layout_width="159dp" |
| | | android:layout_height="52dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:elevation="2dp" |
| | | android:id="@+id/cl_voice_2" |
| | | app:layout_constraintStart_toStartOf="@id/line2" |
| | | app:layout_constraintEnd_toEndOf="@id/line2" |
| | | android:layout_marginTop="15dp" |
| | | android:background="@drawable/bg_blue_8dp"> |
| | | <ImageView |
| | | android:id="@+id/iv1_2" |
| | | 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_2" |
| | | 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_2" |
| | | 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:layout_width="159dp" |
| | | android:layout_height="52dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:elevation="2dp" |
| | | android:id="@+id/cl_voice_3" |
| | | app:layout_constraintStart_toStartOf="@id/line3" |
| | | app:layout_constraintEnd_toEndOf="@id/line3" |
| | | android:layout_marginTop="15dp" |
| | | android:background="@drawable/bg_blue_8dp"> |
| | | <ImageView |
| | | android:id="@+id/iv1_3" |
| | | 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_3" |
| | | 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_3" |
| | | 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:layout_width="159dp" |
| | | android:layout_height="52dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:elevation="2dp" |
| | | android:id="@+id/cl_voice_4" |
| | | app:layout_constraintStart_toStartOf="@id/line4" |
| | | app:layout_constraintEnd_toEndOf="@id/line4" |
| | | android:layout_marginTop="15dp" |
| | | android:background="@drawable/bg_blue_8dp"> |
| | | <ImageView |
| | | android:id="@+id/iv1_4" |
| | | 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_4" |
| | | 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_4" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:visibility="gone" |