678ff81105
bug:27343928 Also fixes positioning of ripples to a scrolled projection receiver. Change-Id: I74b7233c46d7c15839ca8bf50e188ba6646d7432
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?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">
|
|
<ScrollView
|
|
android:orientation="vertical"
|
|
android:translationX="50dp"
|
|
android:translationY="50dp"
|
|
android:elevation="30dp"
|
|
android:layout_width="200dp"
|
|
android:layout_height="200dp"
|
|
android:background="@drawable/round_rect_background">
|
|
<FrameLayout
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content">
|
|
<View
|
|
android:layout_width="200dp"
|
|
android:layout_height="2000dp"/>
|
|
<View
|
|
android:id="@+id/clickable1"
|
|
android:layout_width="100dp"
|
|
android:layout_height="100dp"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"/>
|
|
<View
|
|
android:id="@+id/clickable2"
|
|
android:translationX="50dp"
|
|
android:translationY="10dp"
|
|
android:layout_width="150dp"
|
|
android:layout_height="100dp"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"/>
|
|
</FrameLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|