Files
frameworks_base/tests/HwAccelerationTest/res/layout/stretch_layout.xml
George Mount b1aee44bea Remove edge effect type from the API.
Fixes: 186758538

Relnote: "Removes edge effect type from the API -- EdgeEffect now
supports only stretch edge effect for all applications."

Test: existing tests, modified to work with stretch
Change-Id: Iec7a9d4a0316ff3ba7297c4565bb881a1adcf949
2021-05-03 22:45:10 +00:00

87 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<HorizontalScrollView
android:id="@+id/horizontal_scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
</LinearLayout>
</HorizontalScrollView>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/sunset1"/>
</LinearLayout>
</ScrollView>