-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSubActivity02.xml
57 lines (52 loc) · 2.12 KB
/
SubActivity02.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.image.pcs.SubActivity02"
android:background="#ffffff">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/play_string"
android:id="@+id/playButton"
android:onClick="playAudio"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="52dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/record_string"
android:id="@+id/recordButton"
android:onClick="recordAudio"
android:layout_below="@+id/playButton"
android:layout_alignStart="@+id/playButton" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/stop_string"
android:id="@+id/stopButton"
android:onClick="stopAudio"
android:layout_below="@+id/recordButton"
android:layout_centerHorizontal="true" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="¿¸º€"
android:id="@+id/button4"
android:layout_below="@+id/stopButton"
android:layout_centerHorizontal="true" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Ω«Ω√∞£"
android:id="@+id/button5"
android:layout_marginBottom="97dp"
android:layout_alignParentBottom="true"
android:layout_alignStart="@+id/button4" />
</RelativeLayout>