Automation/app/src/main/res/layout/activity_volume_calibration...

73 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_margin="@dimen/default_margin" >
<TextView
android:id="@+id/tvVolumeCalibrationExplanation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/volumeCalibrationExplanation"
android:layout_marginBottom="20dp" />
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TableRow>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/currentVolume"
android:layout_weight="5"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/tvCurrentVolume"
android:layout_marginLeft="@dimen/default_margin"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="0dB"
android:layout_weight="5"
android:textAppearance="?android:attr/textAppearanceMedium" />
</TableRow>
<TableRow
android:layout_marginTop="10dp" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/referenceValueForNoiseLevelMeasurementsTitle"
android:layout_weight="5"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_gravity="fill" />
<EditText
android:id="@+id/etReferenceValue"
android:layout_marginLeft="@dimen/default_margin"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
android:inputType="numberSigned"
android:editable="false"
android:textAppearance="?android:attr/textAppearanceMedium" />
</TableRow>
</TableLayout>
<SeekBar
android:layout_marginTop="20dp"
android:id="@+id/sbReferenceValue"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/android9RecordAudioNotice"
android:layout_marginTop="20dp"/>
</LinearLayout>