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