Skip to content Skip to sidebar Skip to footer

Android SDK Info About XML Layout Tag Attributes

I'm studying the Android SKD Documentation and I was wondering where I can find information about the XML tags' attributes that are used when defining the layout of the interface o

Solution 1:

The short answer is that: it is in there. The layout tags specific to a class are typically in a subclass LayoutParams for example RelativeLayout.LayoutParams. However since most classes we use are derived from some (great-great-grand-)parent class, we climb up the hierarchy to find until we find the tag we want. The simplest way is to find details the attribute your are interested in is to search for it.

If you ever find a master list, let me know. Until then I rely on IDEs like Eclipse with auto-complete features for a quick reference.


Post a Comment for "Android SDK Info About XML Layout Tag Attributes"