|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <RelativeLayout |
3 | | - android:id="@+id/activity_main" |
4 | | - xmlns:android="http://schemas.android.com/apk/res/android" |
5 | | - xmlns:tools="http://schemas.android.com/tools" |
6 | | - android:layout_width="match_parent" |
7 | | - android:layout_height="match_parent" |
8 | | - android:background="@color/colorPrimaryDark" |
9 | | - tools:context="rm.com.audiogram.MainActivity" |
10 | | - xmlns:app="http://schemas.android.com/apk/res-auto"> |
| 3 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 5 | + xmlns:tools="http://schemas.android.com/tools" |
| 6 | + android:id="@+id/activity_main" |
| 7 | + android:layout_width="match_parent" |
| 8 | + android:layout_height="match_parent" |
| 9 | + android:background="@color/colorPrimaryDark" |
| 10 | + tools:context="rm.com.audiogram.MainActivity" |
| 11 | + > |
11 | 12 |
|
12 | 13 |
|
13 | | - <rm.com.audiowave.AudioWaveView |
14 | | - android:id="@+id/wave" |
15 | | - android:layout_width="match_parent" |
16 | | - android:layout_height="32dp" |
17 | | - android:layout_centerHorizontal="true" |
18 | | - android:layout_alignParentBottom="true" |
19 | | - android:layout_margin="16dp" |
20 | | - app:chunkWidth="3dp" |
21 | | - app:chunkHeight="24dp" |
22 | | - app:minChunkHeight="2dp" |
23 | | - app:chunkSpacing="1dp" |
24 | | - app:chunkRadius="1dp" |
25 | | - app:waveColor="@android:color/white" |
26 | | - /> |
| 14 | + <rm.com.audiowave.AudioWaveView |
| 15 | + android:id="@+id/wave" |
| 16 | + android:layout_width="match_parent" |
| 17 | + android:layout_height="32dp" |
| 18 | + android:layout_alignParentBottom="true" |
| 19 | + android:layout_centerHorizontal="true" |
| 20 | + android:layout_margin="16dp" |
| 21 | + app:chunkHeight="24dp" |
| 22 | + app:chunkRadius="1dp" |
| 23 | + app:chunkSpacing="1dp" |
| 24 | + app:chunkWidth="3dp" |
| 25 | + app:minChunkHeight="2dp" |
| 26 | + app:waveColor="@android:color/white" |
| 27 | + /> |
27 | 28 |
|
28 | | - <Button |
29 | | - android:id="@+id/play" |
30 | | - android:layout_width="wrap_content" |
31 | | - android:layout_height="wrap_content" |
32 | | - android:layout_centerHorizontal="true" |
33 | | - android:clickable="true" |
34 | | - android:layout_margin="16dp" |
35 | | - android:textSize="16sp" |
36 | | - android:text="Play" |
37 | | - /> |
| 29 | + <Button |
| 30 | + android:id="@+id/play" |
| 31 | + android:layout_width="wrap_content" |
| 32 | + android:layout_height="wrap_content" |
| 33 | + android:layout_centerHorizontal="true" |
| 34 | + android:layout_margin="16dp" |
| 35 | + android:clickable="true" |
| 36 | + android:text="Play" |
| 37 | + android:textSize="16sp" |
| 38 | + /> |
38 | 39 |
|
39 | 40 | </RelativeLayout> |
0 commit comments