Here's a layout from the DevGuide: http://developer.android.com/guide/topics/ui/declaring-layout.html
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <TextView android:id="@+id/text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello, I am a TextView" /> <Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello, I am a Button" /> </LinearLayout> - What does xmlns mean? - What is the android:xxx sytnax all about? - What does the "http://schemas.android.com/apk/res/android" do? - Are there other values I might choose? (ex. "http:// schemas.android.com/apk/res/iPhone") - Can you create your own Layouts like the "LinearLayout"? - Is there a list of available components like "Button", "TextView"? - What does the @, the / and the + symbol do? - Can I edit this directly in Eclipse with a graphical editor rather than editing the xml text? That's a lot of questions. So let me sum these up into one simple question: Does anyone know a link to the specification for the XML Layout Language for Android? Thanks for any hints for a complete newbie. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

