1<!--
2  ~ Copyright (C) 2022 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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical"
22    android:gravity="center_horizontal">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:orientation="horizontal"
28        android:gravity="center_horizontal">
29
30        <TextView
31            android:layout_width="wrap_content"
32            android:layout_height="wrap_content"
33            android:text="Select Display"/>
34
35        <Spinner
36            android:id="@+id/display_spinner"
37            android:layout_width="100dp"
38            android:layout_height="wrap_content"
39            android:text="Select display"/>
40
41        <Button
42            android:id="@+id/start_button"
43            android:layout_width="wrap_content"
44            android:layout_height="wrap_content"
45            android:text="Start mirroring"/>
46
47        <Button
48            android:id="@+id/stop_button"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:text="Stop mirroring"/>
52    </LinearLayout>
53
54    <SurfaceView
55        android:id="@+id/surface_view_1"
56        android:layout_width="match_parent"
57        android:layout_height="match_parent" />
58
59</LinearLayout>