Skip to content Skip to sidebar Skip to footer

How To Set A Tabhost At Bottom Of The Screen Using Only Java?

I am working to create a TabHost at bottom of the screen using only java code. I am in a condition that I cant use xml layouts .Can someone expert in dynamic layouts could help me?

Solution 1:

  • You can do this by providing alignParent rule for parent RelativeLayout, if you have one.

  • You can do this by providing correct order if your parent is LinearLayout

  • DO NOT use bottom tabs. Read design guides first.

Post a Comment for "How To Set A Tabhost At Bottom Of The Screen Using Only Java?"