1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:padding="10dip" 21 android:orientation="vertical"> 22 23 <TextView 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:scrollbars="vertical" 27 android:gravity="bottom" 28 android:id="@+id/info_text" 29 android:text="@string/audio_dev_routingnotification_instructions" /> 30 31 <LinearLayout 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:orientation="vertical" 35 android:id="@+id/audioTrackRoutingLayout"> 36 <TextView 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 android:text="@string/audio_routingnotification_playHeader"/> 40 41 <TextView 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:id="@+id/audio_routingnotification_audioTrack_change"/> 45 46 <LinearLayout 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:orientation="horizontal"> 50 <Button 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:id="@+id/audio_routingnotification_playBtn" 54 android:text="@string/audio_routingnotification_playBtn"/> 55 56 <Button 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:id="@+id/audio_routingnotification_playStopBtn" 60 android:text="@string/audio_routingnotification_playStopBtn"/> 61 </LinearLayout> 62 </LinearLayout> 63 64 <LinearLayout 65 android:layout_width="match_parent" 66 android:layout_height="wrap_content" 67 android:orientation="vertical" 68 android:id="@+id/audioRecordRoutingLayout"> 69 <TextView 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:text="@string/audio_routingnotification_recHeader"/> 73 74 <TextView 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:id="@+id/audio_routingnotification_audioRecord_change"/> 78 79 <LinearLayout 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:orientation="horizontal"> 83 <Button 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 android:id="@+id/audio_routingnotification_recordBtn" 87 android:text="@string/audio_routingnotification_recBtn"/> 88 89 <Button 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" 92 android:id="@+id/audio_routingnotification_recordStopBtn" 93 android:text="@string/audio_routingnotification_recStopBtn"/> 94 </LinearLayout> 95 </LinearLayout> 96 97 <include layout="@layout/pass_fail_buttons" /> 98 99 </LinearLayout>