在指定位置的图像上放置圆圈或任何形状
Placing circles or any shape over an image at specified location
我想在 java 中 android 中指定坐标处的图像上绘制圆圈或其他形状。请帮帮我。
自定义 xml 圆形。现在在您的 activity 布局中放置一个 imageview,并且不要在其中传递 src。在你的 activity class 一旦你得到坐标,做这两件事
imageView.setX(value) and imageView.setY(value)
finally pass your custom xml to imageView.setImageResource
希望对您有所帮助!!
我想在 java 中 android 中指定坐标处的图像上绘制圆圈或其他形状。请帮帮我。
自定义 xml 圆形。现在在您的 activity 布局中放置一个 imageview,并且不要在其中传递 src。在你的 activity class 一旦你得到坐标,做这两件事
imageView.setX(value) and imageView.setY(value)
finally pass your custom xml to imageView.setImageResource
希望对您有所帮助!!