<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="VoiceTest"> <LinearLayout android:id="@+id/linearLayout" android:layout_width="411dp" android:layout_height="384dp" android:orientation="vertical" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.077" tools:layout_editor_absoluteX="5dp"> <Button android:id="@+id/button2" android:layout_width="73dp" android:layout_height="wrap_content" android:text="録音" /> <FrameLayout android:layout_width="73dp" android:layout_height="60dp"> <ImageView android:id="@+id/Stoping" android:layout_width="59dp" android:layout_height="51dp" app:srcCompat="@android:drawable/ic_media_play" /> <ImageView android:id="@+id/Playing" android:layout_width="61dp" android:layout_height="54dp" android:alpha="0" app:srcCompat="@android:drawable/ic_media_pause" /> <Button android:id="@+id/button4" android:layout_width="68dp" android:layout_height="51dp" android:text="再生" /> </FrameLayout> <TextView android:id="@+id/text" android:layout_width="match_parent" android:layout_height="51dp" android:text="TextView" /> <TextView android:id="@+id/voiceTime" android:layout_width="match_parent" android:layout_height="67dp" android:text="再生時間" /> </LinearLayout> <SeekBar android:id="@+id/positionBar" android:layout_width="290dp" android:layout_height="49dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.495" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/linearLayout" app:layout_constraintVertical_bias="0.896" /> </androidx.constraintlayout.widget.ConstraintLayout>