<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MenuFeatures.VoiceMassages.RecordFragment"> <ImageView android:id="@+id/imageView8" android:layout_width="match_parent" android:layout_height="50dp" android:layout_marginTop="0dp" android:scaleType="fitXY" android:src="@drawable/index" /> <LinearLayout android:id="@+id/linearLayoutRecorder" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/imageView8" android:layout_alignParentBottom="@id/imageView8" android:layout_marginTop="80dp" android:orientation="vertical"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:src="@drawable/stones" /> <Chronometer android:id="@+id/chronometerTimer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginTop="40dp" android:textColor="#016D91" android:textSize="60sp" /> </LinearLayout> <ImageButton android:id="@+id/recordBtn" android:layout_width="60dp" android:layout_height="60dp" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:layout_marginBottom="50dp" android:background="@drawable/start_stop_bg" android:src="@drawable/mic" /> <ImageView android:id="@+id/recordList" android:layout_width="40dp" android:layout_height="40dp" android:layout_alignBottom="@id/recordBtn" android:layout_marginLeft="40dp" android:layout_toRightOf="@id/recordBtn" android:src="@drawable/list" /> </RelativeLayout>