1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4     Copyright 2016 The Android Open Source Project
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10          http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17-->
18
19<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:orientation="vertical">
28
29        <LinearLayout
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:layout_marginBottom="@dimen/section_marginBottom"
33            android:layout_marginLeft="@dimen/section_marginLeft"
34            android:layout_marginRight="@dimen/section_marginRight"
35            android:layout_marginTop="@dimen/section_marginTop"
36            android:gravity="center"
37            android:orientation="horizontal">
38
39            <ImageView
40                android:id="@+id/image_one"
41                android:layout_width="@dimen/image_size"
42                android:layout_height="@dimen/image_size"
43                android:layout_margin="@dimen/image_margin"
44                android:background="@color/drag_inactive"
45                android:scaleType="centerCrop"
46                />
47
48            <ImageView
49                android:id="@+id/image_two"
50                android:layout_width="@dimen/image_size"
51                android:layout_height="@dimen/image_size"
52                android:layout_margin="@dimen/image_margin"
53                android:background="@color/drag_inactive"
54                android:scaleType="centerCrop"
55                 />
56
57        </LinearLayout>
58
59        <TextView
60            android:layout_width="match_parent"
61            android:layout_height="wrap_content"
62            android:layout_margin="@dimen/text_margin"
63            android:layout_marginBottom="@dimen/section_marginBottom"
64            android:text="@string/drag_instruction" />
65
66        <LinearLayout
67            android:layout_width="match_parent"
68            android:layout_height="wrap_content"
69            android:layout_marginBottom="@dimen/section_marginBottom"
70            android:layout_marginLeft="@dimen/section_marginLeft"
71            android:layout_marginRight="@dimen/section_marginRight"
72            android:layout_marginTop="@dimen/section_marginTop"
73            android:gravity="center"
74            android:orientation="horizontal">
75
76            <ImageView
77                android:id="@+id/local_target"
78                android:layout_width="@dimen/image_size"
79                android:layout_height="@dimen/image_size"
80                android:layout_margin="@dimen/image_margin"
81                android:background="@color/drag_inactive"
82                android:pointerIcon="crosshair"
83                android:scaleType="centerCrop" />
84
85            <TextView
86                android:layout_width="@dimen/text_size"
87                android:layout_height="wrap_content"
88                android:layout_margin="@dimen/text_margin"
89                android:layout_weight="1"
90                android:text="Drop your image here." />
91
92        </LinearLayout>
93
94
95    </LinearLayout>
96</ScrollView>
97