1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ~ Copyright (C) 2017 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 18 <LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical" > 23 <TextView 24 android:id="@+id/curr_streaming_uri_label" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:text="@string/streaming_uri_label"/> 28 <TextView 29 android:id="@+id/curr_streaming_uri" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content"/> 32 <TextView 33 android:id="@+id/curr_streaming_method" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content"/> 36 <TextView 37 android:id="@+id/tracked_streams_label" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:text="@string/tracked_streams_label"/> 41 <LinearLayout 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:orientation="horizontal"> 45 <Spinner 46 android:id="@+id/curr_streams" 47 android:layout_width="0dp" 48 android:layout_weight="1" 49 android:layout_height="match_parent"/> 50 <TextView 51 android:id="@+id/stream_state" 52 android:layout_width="wrap_content" 53 android:layout_height="match_parent"/> 54 </LinearLayout> 55 <TextView 56 android:id="@+id/available_services_label" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:text="@string/available_streaming_services_label"/> 60 <Spinner 61 android:id="@+id/available_streaming_services" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content"/> 64 <GridLayout 65 xmlns:android="http://schemas.android.com/apk/res/android" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:columnCount="2" 69 android:orientation="vertical" > 70 <Button 71 android:id="@+id/bind_button" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:layout_row="0" 75 android:layout_column="0" 76 android:text="@string/bind_button" /> 77 <Button 78 android:id="@+id/get_streaming_services_button" 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:layout_row="0" 82 android:layout_column="1" 83 android:text="@string/get_streaming_services_button" /> 84 <Button 85 android:id="@+id/start_streaming_button" 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:layout_row="1" 89 android:layout_column="0" 90 android:text="@string/start_streaming_button" /> 91 <Button 92 android:id="@+id/stop_streaming_button" 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:layout_row="1" 96 android:layout_column="1" 97 android:text="@string/stop_streaming_button" /> 98 <Button 99 android:id="@+id/dispose_manager_button" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:layout_row="2" 103 android:layout_column="1" 104 android:text="@string/dispose_manager_button" /> 105 </GridLayout> 106 </LinearLayout> 107