title: Android tab layout example required
body: <p>I'm looking for an example, like the standard "Tab Layout" tutorial that uses BOTH activities for each tab and a dedicated xml layout file for each tab.</p>
  
  <p>Can anyone help. All the examples I've found simply use the following for the layout</p>
  
  <pre><code>TextView textview = new TextView(this);
  textview.setText("This is the Artists tab");
  setContentView(textview);
  </code></pre>
  
  <p>The reason for using activities is that for one of the tabs I want to force a landscape orientation.</p>