简体   繁体   English

如何在图像位图上绘制标记?

[英]How to draw a Tag on Image Bitmap?

I need help to do the following task. 我需要帮助来完成以下任务。 My task is similar to Pose (an Android application). 我的任务类似于Pose (Android应用程序)。 In this application they done a amazing concept. 在这个应用程序中他们做了一个惊人的概 Once you capture the image, then tap any part of the image it shows number of options to add tagline. 捕获图像后,点击图像的任何部分,它会显示添加标语的选项数。 Once you add the tag means the particular tag is added over the image. 添加标记意味着在图像上添加特定标记。 once you upload the image to server, now you can view in your profile, once you touch on the image, the tag parts are visible, then you again touch the image means the tagged icons are disappeared. 将图像上传到服务器后,现在您可以在配置文件中查看,一旦触摸图像,标签部分就可见,然后再次触摸图像意味着标记的图标消失。 How they do this think, if they are using any third party tool?.Here for your reference i added the market link of Pose application also having a video and Sample images and i also added some images kindly notice it. 如果他们使用任何第三方工具,他们如何做到这一点?。在这里我添加了Pose应用程序的市场链接,还有一个视频和样本图像,我还添加了一些图像,请注意它。 Kindly share you valuable suggestion to completed this task. 请与您分享完成此任务的宝贵建议。

捕获的图像标签选项标签添加图片

您可以使用FrameLayout并尝试将标记放在图像上,但是我可能会创建一个自定义View ,覆盖onDraw方法并为所有这些做自定义绘图。

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

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