Yet another layout question.

by frizzo » Sat, 14 Mar 2009 15:13:46 GMT


Sponsored Links
 I have a screen, where most of the information is layed out in a table
manner, thus I use a TableLayout.  However, I want to have button,
that aligns to the bottom of the screen.  I've tried using
android:layout_alignParentBottom="true", but that is ignored in
TableLayout.

What options do I have?
--~--~---------~--~----~------------~-------~--~----~



Yet another layout question.

by Mark Murphy » Sat, 14 Mar 2009 20:17:47 GMT


 


Here's one: wrap the TableLayout in a RelativeLayout. Put the Button in
the RelativeLayout with android:layout_alignParentBottom="true".

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Problem in fix the value in EditText

Hi

     I am trying to fix the value in the edittext but it not  shows in
the run time.
     I am trying this like  android:text="edittext" in xml layout it
shows in the design time but when i run it shows blank.
  plaese tell me the right process how can i fix it.
  thanks
ankush mishra

-- 

2. Share via SMS/Email/Facebook/Twitter - sample code?

Hi Guys,

Can anyone recommend an example or post that shows how to implement a
share via SMS/Email/Facebook/Twitter kind of thing for your app?

Muchas gracias in advance!!

pawpaw17

-- 

3. Message not getting poste

4. Question on versioning and localization of an android app

5. Return value from Parcelable.describeContents()

6. Loop an audio through microphone in Android ?

7. IntentService and Threads