1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copystart (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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content"> 20 <LinearLayout 21 android:orientation="horizontal" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content"> 24 <TextView 25 android:id="@+id/player_usage" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:gravity="start" /> 29 <Space 30 android:layout_width="0dp" 31 android:layout_height="match_parent" /> 32 <Button 33 android:id="@+id/player_start" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:text="@string/play" 37 android:gravity="start" /> 38 <Space 39 android:layout_width="3dp" 40 android:layout_height="match_parent" 41 android:gravity="start" /> 42 <Button 43 android:id="@+id/player_play_once" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:text="@string/play_pcm_once" 47 android:gravity="start" /> 48 <Space 49 android:layout_width="3dp" 50 android:layout_height="match_parent" 51 android:gravity="start" /> 52 <Button 53 android:id="@+id/player_stop" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:text="@string/stop" 57 android:gravity="start" /> 58 <Space 59 android:layout_width="2dp" 60 android:layout_height="match_parent" 61 android:gravity="start" /> 62 <TextView 63 android:id="@+id/player_status" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:text="@string/player_not_started" 67 android:gravity="start" /> 68 <Space 69 android:layout_width="2dp" 70 android:layout_height="match_parent" 71 android:gravity="start" /> 72 <TextView 73 android:id="@+id/player_device" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:text="@{@string/audio_device_selected(@string/long_device_name)}" 77 android:gravity="start" /> 78 </LinearLayout> 79</ScrollView> 80