1<?xml version="1.0" encoding="utf-8"?> 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<LinearLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:orientation="vertical" 21 android:gravity="center_horizontal"> 22 23 <LinearLayout 24 android:id="@+id/select_menu_layout" 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_select_spinner" 37 android:layout_width="100dp" 38 android:layout_height="wrap_content"/> 39 40 <Button 41 android:id="@+id/select_start_button" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:text="Start injecting"/> 45 46 <Button 47 android:id="@+id/select_stop_button" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:text="Stop injecting"/> 51 </LinearLayout> 52 53 <TextView 54 android:id="@+id/touch_point_view" 55 android:layout_width="match_parent" 56 android:layout_height="match_parent" 57 android:gravity="center" 58 android:text="Touch here" 59 android:background="#FF777777"/> 60</LinearLayout> 61