Newer
Older
dxcgt / app / src / main / res / layout / soundrecorderview.xml
wangxitong on 6 Apr 2021 1 KB first commit
<?xml version="1.0" encoding="utf-8"?>
<view xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="180dip"
    android:layout_height="60dip"
    class="com.smartdot.cgt.view.SoundRecorder" >

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >

        <ImageButton
            android:id="@+id/btnRecord"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:contentDescription="@string/soundrecord_record"
            android:src="@drawable/button_blue_rec" >
        </ImageButton>

        <ImageButton
            android:id="@+id/btnPlay"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:contentDescription="@string/soundrecord_play"
            android:src="@drawable/button_blue_play" >
        </ImageButton>

        <ImageButton
            android:id="@+id/btnStop"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:contentDescription="@string/soundrecord_stop"
            android:src="@drawable/button_blue_stop" >
        </ImageButton>

        <ImageButton
            android:id="@+id/btnDelete"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:contentDescription="@string/soundrecord_delete"
            android:src="@drawable/button_blue_delete" >
        </ImageButton>
    </LinearLayout>

</view>