custom tab title in android
<p>i am setting custom title in my tab activity like this</p>

<pre><code>    boolean customTitleSupported;
    customTitleSupported = requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
  //  customTitleSupported = false;

  //check for custom title supported feature   
    if(customTitleSupported == true) {
        customTitleBar();
    } else {
        requestWindowFeature(Window.FEATURE_LEFT_ICON);
        String title = prefManager.getTitle();
        setTitle(NAME + " " + title);
    }
    //Set contentview of activity  
    setContentView(R.layout.tabactivity);  

    if(customTitleSupported == false){
        setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, R.drawable.logo);
    }
</code></pre>

<p>Everything is working fine.But  when i make customTitleSupported to <strong>FALSE</strong> to check if custom title support is not there in sdk then it should call normal <strong>setTitle()</strong> function.
But if i do this  <code>customTitleSupported = false;</code>
i am getting following error</p>

<pre><code>android.util.AndroidRuntimeException: You cannot combine custom titles with other title 

features
</code></pre>

<p>i am not clearly understanding the problem if custom title is not supported why i cannot request for other title features.If i doest not request for custom title then else part of setting icon and title works but i want to handle both conditions together.</p>

<p>Thanks</p>
