| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2017 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" > |
| <TextView |
| android:id="@+id/curr_streaming_uri_label" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/streaming_uri_label"/> |
| <TextView |
| android:id="@+id/curr_streaming_uri" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"/> |
| <TextView |
| android:id="@+id/tracked_streams_label" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/tracked_streams_label"/> |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| <Spinner |
| android:id="@+id/curr_streams" |
| android:layout_width="0dp" |
| android:layout_weight="1" |
| android:layout_height="match_parent"/> |
| <TextView |
| android:id="@+id/stream_state" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent"/> |
| </LinearLayout> |
| <TextView |
| android:id="@+id/available_services_label" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/available_streaming_services_label"/> |
| <Spinner |
| android:id="@+id/available_streaming_services" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"/> |
| <GridLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:columnCount="2" |
| android:orientation="vertical" > |
| <Button |
| android:id="@+id/bind_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="0" |
| android:layout_column="0" |
| android:text="@string/bind_button" /> |
| <Button |
| android:id="@+id/get_streaming_services_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="0" |
| android:layout_column="1" |
| android:text="@string/get_streaming_services_button" /> |
| <Button |
| android:id="@+id/start_streaming_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="1" |
| android:layout_column="0" |
| android:text="@string/start_streaming_button" /> |
| <Button |
| android:id="@+id/stop_streaming_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="1" |
| android:layout_column="1" |
| android:text="@string/stop_streaming_button" /> |
| <Button |
| android:id="@+id/dispose_stream_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="2" |
| android:layout_column="0" |
| android:text="@string/dispose_stream_button" /> |
| <Button |
| android:id="@+id/dispose_manager_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="2" |
| android:layout_column="1" |
| android:text="@string/dispose_manager_button" /> |
| </GridLayout> |
| </LinearLayout> |