我想创建我的Android应用程序的自定义控制。这将是一个圆形的控制与一些较小的可移动的圆圈,将指示一个特定的值。
I would like to create a custom control in my Android App. It will be a circular control with some smaller moveable circles that will indicate a specific value.
有没有办法来实现这一点?
Is there a way to realize this?
有没有至少有一些不错的教程,在那里我可以阅读如何创建一个自定义的控制?
Are there at least some nice tutorials where I can read how to create a custom control?
有一个看的Android开发指南的自定义组件部分。通常的做法是延长 查看
并覆盖适用的方法。
Have a look at the custom components section of the Android Dev Guide. The usual approach is to extend a View
and override applicable methods.