| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 |
android:overScrollMode="always" |
| 20 |
android:fillViewport="true" |
| 21 |
android:layout_width="match_parent" |
| 22 |
android:layout_height="match_parent"> |
| 23 |
|
| 24 |
<LinearLayout |
| 25 |
android:layout_width="match_parent" |
| 26 |
android:layout_height="match_parent" |
| 27 |
android:orientation="vertical" |
| 28 |
> |
| 29 |
<LinearLayout |
| 30 |
android:layout_width="match_parent" |
| 31 |
android:layout_height="100dp" |
| 32 |
android:layout_marginTop="100dp" |
| 33 |
android:orientation="horizontal" |
| 34 |
> |
| 35 |
|
| 36 |
<ImageView |
| 37 |
android:id="@+id/vertical_imageview" |
| 38 |
android:layout_width="0dp" |
| 39 |
android:layout_weight="1" |
| 40 |
android:layout_height="match_parent"/> |
| 41 |
<FrameLayout |
| 42 |
android:id="@+id/vertical_surfaceview_container" |
| 43 |
android:layout_width="0dp" |
| 44 |
android:layout_height="match_parent" |
| 45 |
android:layout_weight="1"/> |
| 46 |
</LinearLayout> |
| 47 |
|
| 48 |
<HorizontalScrollView |
| 49 |
android:overScrollMode="always" |
| 50 |
android:layout_width="400dp" |
| 51 |
android:layout_height="0dp" |
| 52 |
android:background="#FF0000" |
| 53 |
android:layout_weight="1" |
| 54 |
> |
| 55 |
<LinearLayout |
| 56 |
android:layout_width="400dp" |
| 57 |
android:layout_height="400dp" |
| 58 |
android:layout_marginLeft="100dp" |
| 59 |
android:orientation="vertical"> |
| 60 |
|
| 61 |
<ImageView |
| 62 |
android:id="@+id/horizontal_imageview" |
| 63 |
android:layout_width="100dp" |
| 64 |
android:layout_weight="1" |
| 65 |
android:layout_height="0dp"/> |
| 66 |
|
| 67 |
<FrameLayout |
| 68 |
android:id="@+id/horizontal_surfaceview_container" |
| 69 |
android:layout_width="100dp" |
| 70 |
android:layout_height="0dp" |
| 71 |
android:layout_weight="1"/> |
| 72 |
|
| 73 |
</LinearLayout> |
| 74 |
</HorizontalScrollView> |
| 75 |
</LinearLayout> |
| 76 |
</ScrollView> |