| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout |
| 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent"> |
| 6 | <ScrollView |
| 7 | android:orientation="vertical" |
| 8 | android:translationX="50dp" |
| 9 | android:translationY="50dp" |
| 10 | android:elevation="30dp" |
| 11 | android:layout_width="200dp" |
| 12 | android:layout_height="200dp" |
| 13 | android:background="@drawable/round_rect_background"> |
| 14 | <FrameLayout |
| 15 | android:layout_width="200dp" |
| 16 | android:layout_height="wrap_content"> |
| 17 | <View |
| 18 | android:layout_width="200dp" |
| 19 | android:layout_height="2000dp"/> |
| 20 | <View |
| 21 | android:id="@+id/clickable1" |
| 22 | android:layout_width="100dp" |
| 23 | android:layout_height="100dp" |
| 24 | android:background="?android:attr/selectableItemBackgroundBorderless"/> |
| 25 | <View |
| 26 | android:id="@+id/clickable2" |
| 27 | android:translationX="50dp" |
| 28 | android:translationY="10dp" |
| 29 | android:layout_width="150dp" |
| 30 | android:layout_height="100dp" |
| 31 | android:background="?android:attr/selectableItemBackgroundBorderless"/> |
| 32 | </FrameLayout> |
| 33 | </ScrollView> |
| 34 | </LinearLayout> |