在 Android 中创建平面图

2024-03-06

In my application i need to create a floor, which contains some zones and cabins inside the zones. I am getting the coordinates of the entity's(each cabin, zone are called entity) from Server as entity id 1 located at x, y coordinates (100, 150). Based on this i need to plot the entity on the screen. The sample floor looks like the below image. enter image description here

谁能建议我最好的方法。


您可以使用 Canvas API 在任何坐标上绘制视图。

你可以找到一个例子here http://developer.android.com/reference/android/graphics/Canvas.html.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

在 Android 中创建平面图 的相关文章

随机推荐