summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/res/layout/projection.xml
blob: b6e4c5ef6ad2eb56481f1db625cb187c0bb7e600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="#66ff0000"
    tools:context="com.example.projection.ProjectionActivity"
    tools:ignore="MergeRootFrame">
    <TextView
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:textSize="50sp"
        android:text="TextView"/>
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:clipChildren="false">
        <view class="com.android.test.hwui.ProjectionActivity$ProjectedView"
            android:id="@+id/projection"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>
        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:textSize="50sp"
            android:text="TextView"/>
    </FrameLayout>

    <TextView
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:textSize="50sp"
        android:text="TextView"/>
</LinearLayout>