This error has nothing to do with TabHost. You are probably using two
custom title features simultaneously, which is not allowed.

Although, from your code, I am not sure what you are doing wrong.
-Kumar Bibek
http://techdroid.kbeanie.com


On Sep 23, 1:46 am, jonny27 <[email protected]> wrote:
> Hi I want to set the custom title for the tab host.
>
> I used the following code:
> requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
>  getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
> R.layout.custom_title_2);
>         final TextView leftText = (TextView) findViewById
> (R.id.left_text);
>         leftText.setText("my custom title");
>
> But it is giving error as:
> android.util.AndroidRuntimeException: You cannot combine custom
> titles
> with other title features
>
> Is it possible to use custom titles with tab host?
>
> Thanks for any help
>
> Jonathan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to