一次将一个图像拖到另一图像的顶部 [英] Drag one image at a time to the top of another image
问题描述
我在屏幕底部有4张图像(但将来我可以有更多图像),在屏幕顶部有1张图像.
I have 4 images at the bottom of my screen (but in the future I can have more) and 1 image at the top.
我想一次单击底部的图像,然后拖动到顶部图像,最后将图像与所有图像一起从上方保存.
I would like to click on the bottom images one at a time and drag to the top image and at the end save the image from above with all the images.
注意:用户可以拖动一个,两个或不拖动任何图像,这取决于它.
Note: The user can drag one, two or no image so it depends on it.
我在下面有一个例子: 在此处输入图片描述
I have an example below: enter image description here
有关如何执行此操作的任何提示?
Any tips on how I can do this?
是否有API?
还是框架?
是否有git中的示例?
Any examples in git?
推荐答案
您可以下载此示例并进行更改以满足您的要求.
You can download this example and change it to meet your requirement.
我刚刚测试过,它可以在Android模拟器上完美运行.
I just tested and it works perfectly on Android emulator.
这是一个gif:
引用: xamarin-imageview-drag-sample
这篇关于一次将一个图像拖到另一图像的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!