I have a (extremely) simple app that shows some text and a button which does nothing just now. As it stands the text appears with button imediately below this.
What I want to do is keep the text at the top but move the button to the bottom of the screen. In the main.xml file I have: -------------------------------------------------------------------------------------------------------------------------------- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/title" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="bottom" android:id="@+id/Submit" android:text="@string/Submit" /> </LinearLayout> --------------------------------------------------------------------------------------------------------------------------------- As you can see I have the following line in the Button tag ----------------------------------- android:gravity="bottom" ------------------------------------ I thought this would move the button to the bottom but it still appears at the top of the screen under the text. Any help? Cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

