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
  • 13,328
  • 13
  • 64
  • 78
SvenFinke
  • 1,254
  • 3
  • 15
  • 30

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
  • 74,165
  • 16
  • 97
  • 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