blob: 4ee772f02105e9960215983b585f349a560496b9 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
tools:context="com.mobileer.oboetester.RecorderActivity" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" >
<com.mobileer.oboetester.StreamConfigurationView
android:id="@+id/streamConfiguration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<com.mobileer.oboetester.InputMarginView
android:id="@+id/input_margin_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/button_start_recording"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="onStartRecording"
android:text="@string/recordAudio"
/>
<Button
android:id="@+id/button_stop_record_play"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="onStopRecordPlay"
android:text="@string/stopAudio"
/>
<Button
android:id="@+id/button_start_playback"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="onStartPlayback"
android:text="@string/playAudio"
/>
<Button
android:id="@+id/button_share"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="onShareFile"
android:text="@string/share"
/>
</LinearLayout>
<TextView
android:id="@+id/statusView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lines="3"
android:text="@string/init_status" />
<com.mobileer.oboetester.VolumeBarView
android:id="@+id/volumeBar0"
android:layout_width="fill_parent"
android:layout_marginBottom="4dp"
android:layout_height="20dp" />
<com.mobileer.oboetester.VolumeBarView
android:id="@+id/volumeBar1"
android:layout_width="fill_parent"
android:layout_marginBottom="4dp"
android:layout_height="20dp" />
<com.mobileer.oboetester.VolumeBarView
android:id="@+id/volumeBar2"
android:layout_width="fill_parent"
android:layout_marginBottom="4dp"
android:layout_height="20dp" />
<com.mobileer.oboetester.VolumeBarView
android:id="@+id/volumeBar3"
android:layout_width="fill_parent"
android:layout_marginBottom="4dp"
android:layout_height="20dp" />
</LinearLayout>
</ScrollView>