Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:00:18+00:00 2026-05-25T11:00:18+00:00

I understand this is not possible, but is there a workaround so I can

  • 0

I understand this is not possible, but is there a workaround so I can use both tabs and a custom titlebar without having to request the titlebar in each individual activity?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:00:19+00:00Added an answer on May 25, 2026 at 11:00 am

    You can create a Custom title bar for your TabActivity. so that both Tabs will be there and Custom Title bar, and further you can refer to the title bar from any activity with in the tabs by using the context of TabActivity.

    Check this link for the tutorial of creating custom title bar for any activity
    http://www.helloandroid.com/tutorials/how-create-custom-titlebar

    so using this tutorial you can create custom-titlebar for your TabActivity

    hope it helps…

    Update for comment

    you can add a method like this in you tab activity for updating the Title. use your own custom layout for title. update the fields in the method.

    here for example im using one layout with one TextView

     public void setMyTitle(String str)
    {
        MainTab.mTab.getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.my_title);
        TextView title=(TextView) findViewById(R.id.titleText);
        title.setText(str);
    }
    

    and in Your TabActivity class

    static MainTab mTab;//initialize the context of TabActivity from on create method
    

    in onCreate() of TabActivity class

    mTab=this; 
    

    and from any activity with in the Tab you can set the title like this.

     MainTab.mTab.setMyTitle("MyTitle is ");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please not that I fully understand this is a dumb ass idea, but its
I'm newbie in Python. I can't understand why this code does not work: reOptions
foo\r\nbar.replace(/(foo).+/m, bar) Hello. I can not understand why this code does not replace foo
I found simple realization of semaphore(my CustomSemaphore) and as I understand this is 'not
I do not understand this error, do not generate error in JsonResult Test (),
I could not understand this error, the scenario is: This is the directory structure:
I dont really understand why this is not working, I am being returned to
Why does this not work? Do I not understand delegate covariance correctly? public delegate
I really do not understand how is this error happening at this code. Please
for example, in this one, I 'm not very understand about the this pointer,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.