My app has a tabhost with four tabs, and now I\'m trying to make nice layouts for landscape mode. In order to make use of additional horizontal space I want to put TabWidget
So, only important think that you must do is this:
getTabWidget().setOrientation(LinearLayout.VERTICAL);
Because TabWidget has hardcoded setOrientation(LinearLayout.HORIZONTAL); in initTabWidget() method. I don't know why.
TabWidget
setOrientation(LinearLayout.HORIZONTAL);
initTabWidget()