views:

1380

answers:

1

Hello,

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?

Thanks, Gushi

+1  A: 

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.

Josef
The [custom components tutorial](http://developer.android.com/guide/topics/ui/custom-components.html) section is good, but it is unfortunately lacking when it comes to dealing with XML. I just finished posting [an answer here](http://stackoverflow.com/questions/2695646/declaring-a-custom-android-ui-element-using-xml/2695649) to this part of it.
Casebash