> I'm still confused by the XML Layout syntax/semantics. I've asked > before but never got a good response. > > Does anyone know where the specification for the XML Layout exists?
There is no specification per se. Each widget documents its attributes as part of its Javadocs. However, since you can have your own widgets (subclasses of android.view.View) with your own attributes, there cannot be a schema or DTD for the layout XML. > I'd like some simple examples, but not like the ones on the android > site. They are too dismissive of the specifics of each attribute. > Perhaps with a specification I could read the details about the > examples. Your best bet is the Javadocs. For example, here are the Javadocs for TextView: http://developer.android.com/reference/android/widget/TextView.html The second table in the Summary section lists the XML attributes available for TextView (and subclasses, like EditText and Button), with details available for most of them. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---