Debian Codegraph @

tests/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ~ Copyright (C) 2021 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19 android:overScrollMode="always"
20 android:fillViewport="true"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent">
23
24 <LinearLayout
25 android:layout_width="match_parent"
26 android:layout_height="match_parent"
27 android:orientation="vertical"
28 >
29 <LinearLayout
30 android:layout_width="match_parent"
31 android:layout_height="100dp"
32 android:layout_marginTop="100dp"
33 android:orientation="horizontal"
34 >
35
36 <ImageView
37 android:id="@+id/vertical_imageview"
38 android:layout_width="0dp"
39 android:layout_weight="1"
40 android:layout_height="match_parent"/>
41 <FrameLayout
42 android:id="@+id/vertical_surfaceview_container"
43 android:layout_width="0dp"
44 android:layout_height="match_parent"
45 android:layout_weight="1"/>
46 </LinearLayout>
47
48 <HorizontalScrollView
49 android:overScrollMode="always"
50 android:layout_width="400dp"
51 android:layout_height="0dp"
52 android:background="#FF0000"
53 android:layout_weight="1"
54 >
55 <LinearLayout
56 android:layout_width="400dp"
57 android:layout_height="400dp"
58 android:layout_marginLeft="100dp"
59 android:orientation="vertical">
60
61 <ImageView
62 android:id="@+id/horizontal_imageview"
63 android:layout_width="100dp"
64 android:layout_weight="1"
65 android:layout_height="0dp"/>
66
67 <FrameLayout
68 android:id="@+id/horizontal_surfaceview_container"
69 android:layout_width="100dp"
70 android:layout_height="0dp"
71 android:layout_weight="1"/>
72
73 </LinearLayout>
74 </HorizontalScrollView>
75 </LinearLayout>
76 </ScrollView>