有没有像逐项叠加的图像什么? [英] Is there anything like an itemized Overlay for Images?

查看:89
本文介绍了有没有像逐项叠加的图像什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜 我正在寻找功能,这就像在itemizedOverlay上的MapView,只为ImageView的。所以,我可以在水龙头的项目上的图像上的特定位置添加项目和触发动作。

Hi I am searching for functionality which works like the itemizedOverlay on the mapview, only for Imageview. So that I can add items on specific locations on the image and trigger actions on tap of the item.

我建你在哪里得到房型图,并在此平面布置的房间应标,并点击获取更多信息的应用程序为Android。

I am building an application for Android where you get Floorplans and on this Floorplan the rooms should be marked and clickable to get more information.

非常感谢您对此事的任何帮助或暗示

Thank you very much for any help or hint in this matter

推荐答案

使用 RelativeLayout的的FrameLayout 。两者都支持Z轴排序 - 后面的孩子会出现浮动对早期儿童的顶部。使用 setOnClickListener()水龙头上的项目的通知。

Use a RelativeLayout or FrameLayout. Both support Z-axis ordering -- later children will appear to float over top of earlier children. Use setOnClickListener() to be notified of taps on the items.

这篇关于有没有像逐项叠加的图像什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆