Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android XML attributes reference

 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know of a good reference that describes all the different attributes you can use in android xml files?

I know that the Javadocs for different classes list the attributes that can be used for each class.
But, sometimes, I just want to go through all available attributes to see if something might be useful for the task at hand. It is a real pain not having a published schema or a complete reference of all the attributes.
 
Ed Burnette
Author
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe this is what you're looking for:

http://developer.android.com/reference/android/R.styleable.html

Don't bother trying to print it out--it's over 200 pages. Instead, just do a search.

See also: http://developer.android.com/reference/android/R.attr.html , which has pretty much the same info.
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Ed.
Exactly what I was looking for. Didn't think to look for it in Javadocs, I was expecting a separate xml elements reference.

BTW really enjoying your book, about half way through it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic