<?xml version="1.0" encoding="utf-8"?>
<com.simplemobiletools.voicerecorder.fragments.RecorderFragment 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:id="@+id/recorder_holder"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.visualizer.amplitude.AudioRecordView
        android:id="@+id/recorder_visualizer"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_margin="@dimen/big_margin"
        android:background="@drawable/frame_background"
        app:chunkAlignTo="center"
        app:chunkMaxHeight="200dp"
        app:chunkMinHeight="2dp"
        app:chunkRoundedCorners="true"
        app:chunkSoftTransition="true"
        app:chunkSpace="1dp"
        app:chunkWidth="3dp"
        app:layout_constraintBottom_toTopOf="@+id/recording_duration"
        app:layout_constraintTop_toTopOf="parent" />

    <com.simplemobiletools.commons.views.MyTextView
        android:id="@+id/recording_duration"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/bigger_margin"
        android:textSize="@dimen/extra_big_text_size"
        app:layout_constraintBottom_toTopOf="@+id/toggle_recording_button"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        tools:text="00:00" />

    <ImageView
        android:id="@+id/toggle_recording_button"
        android:layout_width="@dimen/toggle_recording_button_size"
        android:layout_height="@dimen/toggle_recording_button_size"
        android:layout_marginBottom="@dimen/big_margin"
        android:background="@drawable/circle_background"
        android:padding="@dimen/normal_margin"
        android:src="@drawable/ic_microphone_vector"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />

    <ImageView
        android:id="@+id/toggle_pause_button"
        android:layout_width="@dimen/fab_size"
        android:layout_height="@dimen/fab_size"
        android:layout_marginBottom="@dimen/big_margin"
        android:background="@drawable/circle_background"
        android:padding="@dimen/normal_margin"
        android:src="@drawable/ic_pause_vector"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/toggle_recording_button" />

</com.simplemobiletools.voicerecorder.fragments.RecorderFragment>
