aboutsummaryrefslogtreecommitdiff
path: root/ui/window/DragAndDropAcrossApps/DropTarget/src/main/res/layout/fragment_droptarget.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ui/window/DragAndDropAcrossApps/DropTarget/src/main/res/layout/fragment_droptarget.xml')
-rw-r--r--ui/window/DragAndDropAcrossApps/DropTarget/src/main/res/layout/fragment_droptarget.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/ui/window/DragAndDropAcrossApps/DropTarget/src/main/res/layout/fragment_droptarget.xml b/ui/window/DragAndDropAcrossApps/DropTarget/src/main/res/layout/fragment_droptarget.xml
new file mode 100644
index 00000000..328247d4
--- /dev/null
+++ b/ui/window/DragAndDropAcrossApps/DropTarget/src/main/res/layout/fragment_droptarget.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Copyright 2016 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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/section_margin"
+ android:gravity="center"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/image_target"
+ android:layout_width="@dimen/image_size"
+ android:layout_height="@dimen/image_size"
+ android:background="@color/drag_inactive"
+ android:pointerIcon="crosshair"
+ android:scaleType="centerCrop" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/text_margin"
+ android:text="@string/image_target_prompt" />
+
+ </LinearLayout>
+</ScrollView> \ No newline at end of file