I wanted to place a spinner in the action bar, just like in the Gmail app. So I created the following layout.
They best way is to know the orientation of the device when the activity is started and use a layout depending on it.
If portrait setContentView(R.layout.layout_with_bigfont);
If lanscape setContentView(R.layout.layout_with_smallfont);
otherwise you need to set the font for that View (in this case TextView) alone dynamically using setTextSize(xdp) instead of using 2 different layouts for different orientations