• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2021 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:orientation="horizontal"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content">
21    <TextView
22        android:id="@+id/player_usage"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:gravity="left" />
26    <Space
27        android:layout_width="0dp"
28        android:layout_height="match_parent" />
29    <Button
30        android:id="@+id/player_start"
31        android:layout_width="wrap_content"
32        android:layout_height="wrap_content"
33        android:text="@string/play"
34        android:gravity="right" />
35    <Space
36        android:layout_width="3dp"
37        android:layout_height="match_parent"
38        android:gravity="right" />
39    <Button
40        android:id="@+id/player_play_once"
41        android:layout_width="wrap_content"
42        android:layout_height="wrap_content"
43        android:text="@string/play_pcm_once"
44        android:gravity="right" />
45    <Space
46        android:layout_width="3dp"
47        android:layout_height="match_parent"
48        android:gravity="right" />
49    <Button
50        android:id="@+id/player_stop"
51        android:layout_width="wrap_content"
52        android:layout_height="wrap_content"
53        android:text="@string/stop"
54        android:gravity="right" />
55    <Space
56        android:layout_width="8dp"
57        android:layout_height="match_parent"
58        android:gravity="right" />
59    <TextView
60        android:id="@+id/player_status"
61        android:layout_width="300dp"
62        android:layout_height="wrap_content"
63        android:text="@string/player_not_started"
64        android:gravity="right" />
65</LinearLayout>
66