Hi everyone, Sorry for the noob question, but I'm just starting with Android...
I was working on my Hello-World-type application, and wanted to place a text view aligned to the top of the screen, and another aligned to the bottom, but can't grasp yet the layout philosophy... After reading the dev guide for layouts, I came up with this: <?xml version="1.0" encoding="UTF-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/bg"> <TextView android:id="@+id/text1" android:layout_height="fill_parent" android:layout_width="fill_parent" android:textSize="30px" android:textColor="#000000" android:gravity="center_horizontal|top" android:text="I'm on top!"/> <TextView android:id="@+id/text2" android:layout_height="wrap_content" android:layout_width="fill_parent" android:textSize="30px" android:textColor="#000000" android:gravity="center_horizontal|bottom" android:text="I'm at the bottom!"/> </LinearLayout> ...but it's not working. Can anyone give a tip, or point me to good resource? Many thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---