Hi I want to set the custom title for the tab activity.

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

Cant we use custom title with tab activity?

how can I solve this?

please help.

Thanks,
Manoj.
--~--~---------~--~----~------------~-------~--~----~
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