summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/res/layout/projection_clipping.xml
blob: 7caf90aa722286a60857050a5718456061eed81b (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <FrameLayout
        android:translationX="50dp"
        android:translationY="50dp"
        android:translationZ="30dp"
        android:layout_width="200dp"
        android:layout_height="200dp"
        android:background="@drawable/round_rect_background">
        <View
            android:id="@+id/clickable1"
            android:layout_width="100dp"
            android:layout_height="100dp"
            android:background="?android:attr/selectableItemBackground"/>
        <View
            android:id="@+id/clickable2"
            android:translationX="50dp"
            android:translationY="10dp"
            android:layout_width="150dp"
            android:layout_height="100dp"
            android:background="?android:attr/selectableItemBackground"/>
    </FrameLayout>
</LinearLayout>