Debian Codegraph @

tests/MirrorSurfaceTest/res/layout/activity_mirror_surface.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ~ Copyright (C) 2019 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 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
23 <LinearLayout
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:layout_gravity="center_horizontal"
27 android:layout_marginTop="20dp"
28 android:orientation="horizontal">
29
30 <Button
31 android:id="@+id/mirror_button"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_marginRight="20dp"
35 android:text="Mirror"
36 android:textSize="20dp" />
37
38 <Button
39 android:id="@+id/remove_mirror_button"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:layout_marginRight="20dp"
43 android:text="Remove Mirror"
44 android:textSize="20dp" />
45 </LinearLayout>
46
47 <LinearLayout
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content"
50 android:layout_marginLeft="40dp"
51 android:layout_marginRight="40dp"
52 android:layout_marginTop="10dp"
53 android:orientation="horizontal">
54
55 <TextView
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:layout_marginRight="20dp"
59 android:text="SCALE: " />
60
61 <EditText
62 android:hint="0.5"
63 android:id="@+id/scale"
64 android:layout_width="match_parent"
65 android:layout_height="wrap_content"
66 android:inputType="numberDecimal" />
67 </LinearLayout>
68
69 <LinearLayout
70 android:layout_width="match_parent"
71 android:layout_height="wrap_content"
72 android:layout_marginLeft="40dp"
73 android:layout_marginRight="40dp"
74 android:layout_marginTop="10dp"
75 android:orientation="horizontal">
76
77 <TextView
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:layout_marginRight="20dp"
81 android:text="DISPLAY FRAME: " />
82
83 <EditText
84 android:hint="0, 0, 20, 20"
85 android:id="@+id/displayFrame"
86 android:layout_width="match_parent"
87 android:layout_height="wrap_content"
88 android:inputType="numberDecimal|text"/>
89 </LinearLayout>
90
91 <LinearLayout
92 android:layout_width="match_parent"
93 android:layout_height="wrap_content"
94 android:layout_marginLeft="40dp"
95 android:layout_marginRight="40dp"
96 android:layout_marginTop="10dp"
97 android:orientation="horizontal">
98
99 <TextView
100 android:layout_width="wrap_content"
101 android:layout_height="wrap_content"
102 android:layout_marginRight="20dp"
103 android:text="SOURCE POSITION: " />
104
105 <TextView
106 android:id="@+id/sourcePosition"
107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"
109 android:inputType="numberDecimal|text"/>
110 </LinearLayout>
111 </LinearLayout>