I did find a handful of examples in samples/ApiDemos/res/drawable. The xml files in that directory are all examples of using <shapes> and related xml elements.
Some of this is mentioned in the javadocs for android.graphics.drawable. Some xml elements like <corners> and <gradient> are not documented anywhere that I know of. The attributes for <shape> are listed in GradientDrawable but then these apparently are also the attributes for <gradient> according some of the examples. So I guess it is at least supported as part of the API, even if you have to reverse engineer it to figure out the features. On Jan 29, 5:59 am, Flying Coder <[email protected]> wrote: > Docs for this would be awesome! > > Nedrow: thanks for the link -- that was very helpful. > > Steve > > On Jan 28, 10:31 pm, jotobjects <[email protected]> wrote: > > > Thanks - this sure looks like it might be useful if there was more > > documentation :( > > > On Jan 28, 3:38 pm, Nerdrow <[email protected]> wrote: > > > > Not a lot of good, workable documentation about this. This helped me > > > out a lot:http://escomic.net/217 > > > > On Jan 27, 3:59 pm, jotobjects <[email protected]> wrote: > > > > > Where is there information about the syntax of <shape> xml files. > > > > These can be used to define 2D graphics as I understand it. There are > > > > few spotty examples in the samples directory but that is all I have > > > > found. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

