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

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) 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


Sponsored Links

Other Threads

1. startup sequence, how do i get from main to launcher.OnCreate()

Hi All,
I am new to android, I have done a few apps based on the examples

Now, I think it would be good for me to really understand the whole
android system. Therefore I imagine that to do that I can start  by
replacing the default main screen, the one where u can drag the clock
around and replace it with my own app, eg. calculator.

My understanding is that Launcher is the main activity that i have to
replace and stop from executing. Therefore i am thinking that if i
find where this thing is invoked, i can instead ask it to invoke my
calculator instead.

Please correct me if my understanding is wrong.

My question is as follow:
1. is there any good read that i can find regarding this? from what i
find on the net, they are mostly trying to teach us how to create
2. Is this the correct way to do this? or should it be just create an
apk which will never close and start during start up and cover the
main screen



2. Formatting text size and text color in ListView();

I've been reading around Google Groups to find an answer to this
problem of mine for quite a while now. I want to be able for format my
ListView, preferably without having to override getView(). I read
somewhere that you could do this with a simple .xml layout file that
contains a LinearLayout and a TextView  (thats basically what
simple_list_item_1 consists of right?) but I never got so see the
actual implementation of this method and I can't seem to figure it out
on my own how everything is connected and what view is supposed to
have what id.

So, can you format you text in ListView using the method I explained
above or was it just a hoax? If you can, then I'd really appreciate
some kind of simple implementation tutorial for it.




3. Is using google maps driving direction legal for android app for ADC II?

4. Hello Tutorials - Gallery Example

5. Downloading files from the browser

6. problem with Hello, Gallery R.styleable not resolve

7. Taking picture with camera and getting content uri