Android tabs vs. landscape orientation -
i have tab-based android app. currently, not support landscape mode - 1 , activity swallows orientation changes. now, user asks support landscape sake of hardware keyboard convenience.
on 1 hand, makes sense. on other, default behavior of tab host rotating tab strip; when does, takes 1 third of precious screen space tabs alone. lose lot of real estate.
are there common ways out of conundrum? far as can see, vertical tab strip not option.
i suggest following technique discussed in timores's answer android:orientation="vertical" not work tabwidget, describes how set tabhost display tabs on left of screen, tabs vertically stacked.
Comments
Post a Comment