• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!