Another page that contains some information is
http://developer.android.com/reference/android/R.attr.html which
appears to list all XML attributes for all elements.  Unfortunately,
this list doesn't include any information about which elements the
attribute goes with.  Thickness attribute, for example, is meant to be
used with <shape anroid:shape="ring" android:thickness="3.5sp"> and it
doesn't make much sense in a LinearLayout element <LinearLayout
android:thickness="3.5sp">.

Note: To avoid confusion I am still searching for an answer if anyone
has one.  I'm just trying to keep this thread updated on what I learn
in case someone else ends up googling for XML Documentation like I
did.

On Jul 20, 1:49 pm, Micah <[email protected]> wrote:
> The documentation 
> athttp://developer.android.com/guide/topics/resources/available-resourc...
> appears to be what I'm looking for except it's incomplete.  It doesn't
> contain information about the <shape> tag, and I'm not sure what else
> is missing. :(
>
> On Jul 20, 1:36 pm, Micah <[email protected]> wrote:
>
>
>
> > When working with android XML files there are a bunch of tags
> > available such as TextView, shape, alpha, set, menu, LinearLayout,
> > etc.  Where can I find a list of all of the tags available along with
> > (ideally) documentation on what they are used for and what attributes
> > are available for them?  Searching the reference documentation 
> > athttp://developer.android.com/reference/packages.htmldoesn'tturn up
> > any useful results, it only seems to return results for the various
> > Java classes.
>
> > An example of what I'm looking for is the shape tag.  Based on
> > examples, It can have solid, stroke and padding tags within it as well
> > as an android:sahpe attribute which can be "line" and maybe other
> > things (I don't know what else).  So where can I find documentation on
> > what tags are valid within a <shape></shape> block and what attributes
> > are valid on a shape?  If I look at the the ShapeDrawable Java class
> > (http://developer.android.com/reference/android/graphics/drawable/
> > ShapeDrawable.html) I can see some attributes, but android:shape
> > attribute isn't listed yet it's used in one of the examples.  I am not
> > even sure if ShapeDrawable is the same as <shape> or not. :/
>
> > At this point I would be even interested in the definitions in code
> > form (perhaps and XML Schema file or something so I at least know what
> > I can type and then I can play around with it to figure out exactly
> > what it does.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to