title: Tabs interfering with application- and activity themes
body: <p>We're developing an android application that has several different tabs. We've been trying to apply a theme to entire application, and we've also tried applying a theme to specific activities. Neither has any effect. </p>
  
  <p>I have this style-file: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;resources&gt;
      &lt;style name="recapmain"&gt;
          &lt;item name="android:buttonStyle"&gt;@style/recapButton&lt;/item&gt;
          &lt;item name="android:textViewStyle"&gt;@style/recapText&lt;/item&gt;
      &lt;/style&gt;
      &lt;style name="recapButton" parent="android:style/Widget.Button"&gt;
          &lt;item name="android:textSize"&gt;30sp&lt;/item&gt;
          &lt;item name="android:background"&gt;#FF0000&lt;/item&gt;
      &lt;/style&gt;
      &lt;style name="recapText"&gt;
          &lt;item name="android:textSize"&gt;30dip&lt;/item&gt;
          &lt;item name="android:textColor"&gt;#FFFFFF&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>The application tag in the manifest file looks like this: </p>
  
  <pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/recapmain"&gt;
  
      &lt;activity android:name="appname"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.NoTitleBar"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>This doesn't work. The application simply does not react to the theme. If I set a specific view to use one of the styles, it's works perfectly. So, I can do this in the xml file for an activity: </p>
  
  <pre><code>&lt;Button 
  android:id="@+id/OverviewButtonYears" 
  android:layout_width="wrap_content"
  android:layout_height="wrap_content" 
  android:text="@string/years"
  android:onClick="years"
  style="@style/recapButton"
  /&gt;
  </code></pre>
  
  <p>That will style the button appropriately. </p>
  
  <p>we've also tried applying the theme to a specific activity tag, with no result. </p>
  
  <p>Now, what <em>does</em> work, is removing the intent-filter-tag from the application tag, and putting it in an activity tag, like this: </p>
  
  <pre><code>&lt;activity android:name=".PolicyTab"  &gt;
              &lt;intent-filter&gt;
                      &lt;action android:name="android.intent.action.MAIN" /&gt;
                      &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>That starts the specific activity only, and it does have the appropriate theme. </p>
  
  <p>My question then, is, why? We've gussed that it has something to do with the tabs, since starting only one activity enables the theme. What do we have to do to get it to work <em>with</em> tabs?</p>