1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2023 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<LinearLayout 17 android:layout_width="fill_parent" 18 android:layout_height="fill_parent" 19 android:orientation="vertical" 20 xmlns:android="http://schemas.android.com/apk/res/android" > 21 <LinearLayout 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="horizontal" > 25 <RadioGroup 26 android:id="@+id/selection_tuner_type" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:orientation="horizontal" > 30 <RadioButton 31 android:id="@+id/button_am_fm_type_tuner" 32 android:visibility="gone" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:text="@string/radio_fm_am_tuner" /> 36 <RadioButton 37 android:id="@+id/button_dab_type_tuner" 38 android:visibility="gone" 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:text="@string/radio_dab_tuner" /> 42 </RadioGroup> 43 <Space 44 android:layout_width="3dp" 45 android:layout_height="match_parent" /> 46 <Button 47 android:id="@+id/button_radio_open" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:text="@string/radio_open" /> 51 <Space 52 android:layout_width="3dp" 53 android:layout_height="match_parent" /> 54 <TextView 55 android:id="@+id/warning_open_tuner" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:text="@string/empty" /> 59 </LinearLayout> 60 <LinearLayout 61 android:layout_width="match_parent" 62 android:layout_height="wrap_content" 63 android:orientation="horizontal" > 64 <TextView 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:text="@string/hw_audio_source_title" /> 68 <TextView 69 android:id="@+id/hw_audio_source_not_found" 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 android:text="@string/hw_audio_source_not_found" /> 73 <Button 74 android:id="@+id/hw_audio_source_start" 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 android:text="@string/play" /> 78 <Button 79 android:id="@+id/hw_audio_source_stop" 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:text="@string/stop" /> 83 <TextView 84 android:id="@+id/text_radio_playing_state" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:text="@string/empty" /> 88 </LinearLayout> 89 <ScrollView 90 android:layout_width="fill_parent" 91 android:layout_height="wrap_content"> 92 <LinearLayout 93 android:layout_width="match_parent" 94 android:layout_height="wrap_content" 95 android:orientation="vertical" > 96 <com.google.android.material.tabs.TabLayout 97 android:id="@+id/tabs_tadio_tuner" 98 android:layout_width="match_parent" 99 android:layout_height="wrap_content" > 100 </com.google.android.material.tabs.TabLayout> 101 <androidx.viewpager2.widget.ViewPager2 102 android:id="@+id/view_pager_radio_tuner" 103 android:layout_width="match_parent" 104 android:layout_height="300dp" > 105 </androidx.viewpager2.widget.ViewPager2> 106 </LinearLayout> 107 </ScrollView> 108</LinearLayout> 109