1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2011 The Android Open Source Project 3*b7c941bbSAndroid Build Coastguard Worker 4*b7c941bbSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*b7c941bbSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*b7c941bbSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*b7c941bbSAndroid Build Coastguard Worker 8*b7c941bbSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*b7c941bbSAndroid Build Coastguard Worker 10*b7c941bbSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*b7c941bbSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*b7c941bbSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*b7c941bbSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*b7c941bbSAndroid Build Coastguard Worker limitations under the License. 15*b7c941bbSAndroid Build Coastguard Worker--> 16*b7c941bbSAndroid Build Coastguard Worker 17*b7c941bbSAndroid Build Coastguard Worker<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18*b7c941bbSAndroid Build Coastguard Worker android:layout_width="match_parent" 19*b7c941bbSAndroid Build Coastguard Worker android:layout_height="match_parent" 20*b7c941bbSAndroid Build Coastguard Worker > 21*b7c941bbSAndroid Build Coastguard Worker <android.acceleration.AcceleratedView android:id="@+id/hardware_accelerated_view" 22*b7c941bbSAndroid Build Coastguard Worker android:layout_width="match_parent" 23*b7c941bbSAndroid Build Coastguard Worker android:layout_height="wrap_content" 24*b7c941bbSAndroid Build Coastguard Worker android:layout_weight="1" 25*b7c941bbSAndroid Build Coastguard Worker android:layerType="hardware" 26*b7c941bbSAndroid Build Coastguard Worker /> 27*b7c941bbSAndroid Build Coastguard Worker <android.acceleration.AcceleratedView android:id="@+id/software_accelerated_view" 28*b7c941bbSAndroid Build Coastguard Worker android:layout_width="match_parent" 29*b7c941bbSAndroid Build Coastguard Worker android:layout_height="wrap_content" 30*b7c941bbSAndroid Build Coastguard Worker android:layout_weight="1" 31*b7c941bbSAndroid Build Coastguard Worker android:layerType="software" 32*b7c941bbSAndroid Build Coastguard Worker /> 33*b7c941bbSAndroid Build Coastguard Worker <!-- Acceleration will be set via manual setLayerType calls from the activity. --> 34*b7c941bbSAndroid Build Coastguard Worker <android.acceleration.AcceleratedView android:id="@+id/manual_hardware_accelerated_view" 35*b7c941bbSAndroid Build Coastguard Worker android:layout_width="match_parent" 36*b7c941bbSAndroid Build Coastguard Worker android:layout_height="wrap_content" 37*b7c941bbSAndroid Build Coastguard Worker android:layout_weight="1" 38*b7c941bbSAndroid Build Coastguard Worker /> 39*b7c941bbSAndroid Build Coastguard Worker <android.acceleration.AcceleratedView android:id="@+id/manual_software_accelerated_view" 40*b7c941bbSAndroid Build Coastguard Worker android:layout_width="match_parent" 41*b7c941bbSAndroid Build Coastguard Worker android:layout_height="wrap_content" 42*b7c941bbSAndroid Build Coastguard Worker android:layout_weight="1" 43*b7c941bbSAndroid Build Coastguard Worker /> 44*b7c941bbSAndroid Build Coastguard Worker</LinearLayout> 45