1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:orientation="vertical" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent"> 21 22 <LinearLayout android:orientation="horizontal" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content"> 25 26 <CheckBox android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:text="None" 29 android:checked="true" 30 android:id="@+id/layersNoneCB"/> 31 32 <CheckBox android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:text="Hardware" 35 android:id="@+id/layersHwCB"/> 36 37 <CheckBox android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:text="Software" 40 android:id="@+id/layersSwCB"/> 41 42 </LinearLayout> 43 44 <LinearLayout android:orientation="horizontal" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content"> 47 48 <Button android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:text="1" 51 android:id="@+id/button1"/> 52 53 <Button android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:text="2" 56 android:id="@+id/button2"/> 57 58 <Button android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:text="3" 61 android:id="@+id/button3"/> 62 63 </LinearLayout> 64 65 <LinearLayout android:orientation="horizontal" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content"> 68 69 <Button android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:text="1a" 72 android:id="@+id/button1a"/> 73 74 <Button android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:text="2a" 77 android:id="@+id/button2a"/> 78 79 <Button android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:text="3a" 82 android:id="@+id/button3a"/> 83 84 </LinearLayout> 85 86 <LinearLayout android:orientation="horizontal" 87 android:layout_width="match_parent" 88 android:layout_height="wrap_content"> 89 90 <Button android:layout_width="wrap_content" 91 android:layout_height="wrap_content" 92 android:text="1b" 93 android:id="@+id/button1b"/> 94 95 <Button android:layout_width="wrap_content" 96 android:layout_height="wrap_content" 97 android:text="2b" 98 android:id="@+id/button2b"/> 99 100 <Button android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:text="3b" 103 android:id="@+id/button3b"/> 104 105 </LinearLayout> 106 107 <view class="com.android.test.hwui.TransformsAndAnimationsActivity$MyLayout" 108 android:orientation="horizontal" 109 android:layout_width="match_parent" 110 android:layout_height="wrap_content"> 111 112 <Button android:layout_width="wrap_content" 113 android:layout_height="wrap_content" 114 android:text="4" 115 android:id="@+id/button4"/> 116 117 <Button android:layout_width="wrap_content" 118 android:layout_height="wrap_content" 119 android:text="5" 120 android:id="@+id/button5"/> 121 122 <Button android:layout_width="wrap_content" 123 android:layout_height="wrap_content" 124 android:text="6" 125 android:id="@+id/button6"/> 126 127 </view> 128 129 <LinearLayout android:orientation="horizontal" 130 android:layout_width="match_parent" 131 android:layout_height="wrap_content"> 132 133 <Button android:layout_width="wrap_content" 134 android:layout_height="wrap_content" 135 android:text="7" 136 android:id="@+id/button7"/> 137 138 <Button android:layout_width="wrap_content" 139 android:layout_height="wrap_content" 140 android:text="8" 141 android:id="@+id/button8"/> 142 143 </LinearLayout> 144 145</LinearLayout> 146