13

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?

dandan78
  • 12,242
  • 12
  • 61
  • 73
SvenFinke
  • 1,214
  • 3
  • 15
  • 29

1 Answers1

16

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 Pfleger
  • 72,585
  • 15
  • 95
  • 99
  • 2
    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 Apr 23 '10 at 01:54