title: Android custom theme on 2.3, holo theme on 4.0
body: <p>I read <a href="http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html" rel="nofollow">http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html</a> but have some issues. For pre-honeycomb I want a custom title, for post-honeycomb I want the default. When I try to run my app on ICS</p>
  
  <pre><code>android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
  </code></pre>
  
  <p>If I remove the custom title it works fine on all releases, just without the custom title.</p>
  
  <p>in values-v11 I have themes.xml file with this content:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;style name="customTheme" parent="android:Theme.Holo.Light"&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>So my theme document says to use no custom theme basically.</p>
  
  <p>If I remove</p>
  
  <pre><code>requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
  getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title);
  </code></pre>
  
  <p>then the theme shows up correctly on ICS.</p>
  
  <p>I cannot imagine that I have to check on coding level what API level I run and either request the window feature or not, that should be handled by the system. </p>
  
  <p>Thanks, A.</p>