简体   繁体   English

Android图像触摸轮播

[英]Android image touch carousel

I have 5 semi-transparent images in my application. 我的应用程序中有5张半透明图像。
I need to select one of these images and apply it OVER another image (shown in background). 我需要选择这些图像中的一个,并将其应用OVER另一图像(在背景显示)。
I would select these images moving horizontally (eg: touch left to right ), keeping the background visible. 我将选择这些图像水平移动(例如:从左到右触摸),使背景保持可见。
A sort of carousel, but I have to show one image at a time. 一种轮播,但我必须一次显示一个图像。

Any help in this regard would be very welcome. 在这方面的任何帮助将是非常欢迎的。

在此处输入图片说明在此处输入图片说明

I solve it using gallery and image in FrameLayout to center it. 我使用FrameLayout中的图库和图像来居中解决它。
It works fine. 工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM