<?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="wrap_content"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
<FrameLayout
|
android:id="@+id/frame"
|
android:layout_height="200dp"
|
android:layout_width="300dp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginHorizontal="5dp"
|
android:layout_marginVertical="4dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent">
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:id="@+id/front"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@drawable/bg_blue_8dp"
|
android:id="@+id/rl_voice">
|
|
<ImageView
|
android:id="@+id/iv_play"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginHorizontal="6dp"
|
android:layout_centerInParent="true"
|
android:src="@mipmap/play_blue"/>
|
|
</RelativeLayout>
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:visibility="gone"
|
android:id="@+id/iv_img"
|
app:roundedCornerRadius="8dp"
|
app:actualImageScaleType="centerCrop"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<ImageView
|
android:id="@+id/back"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:src="@mipmap/bg_card_back"
|
android:scaleType="fitXY"
|
android:visibility="gone"/>
|
</FrameLayout>
|
<ImageView
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
app:layout_constraintStart_toStartOf="@id/frame"
|
app:layout_constraintEnd_toEndOf="@id/frame"
|
app:layout_constraintTop_toTopOf="@id/frame"
|
app:layout_constraintBottom_toBottomOf="@id/frame"
|
android:scaleType="centerInside"
|
android:visibility="gone"
|
android:id="@+id/iv_result"
|
android:src="@mipmap/successs"
|
android:layout_margin="6dp"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|