how to set the tabs in the bottom of the screen in android?

Posted by androidbase on Stack Overflow See other posts from Stack Overflow or by androidbase
Published on 2010-03-08T12:12:56Z Indexed on 2010/03/08 13:51 UTC
Read the original article Hit count: 219

hi all,

i am working on tabactivity.

i wanna show my tabwidget below the tabcontent(framelayout).

i done it by setting the tabwiget tab attribute as

android:gravity="bottom"

but the framelayout cant align with those tabs.

that is the tabs are shown at the bottom of the screen and overlap the framelayout

how to do that? if set some height value to the framelayout it not optimized for all screens of android. what can i do? any idea???

© Stack Overflow or respective owner

Related posts about android

Related posts about android-emulator