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

  • Home
  • SEARCH
  • 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 6024791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:12:25+00:00 2026-05-23T04:12:25+00:00

I have a tabhost with tabs and the text is set, I just do

  • 0

I have a tabhost with tabs and the text is set, I just do not like how they are set by default. The text is centered horizontally, but they gravitate to the bottom vertically. I would like to center them completely and resize the text.

I did not see API calls to do this, insight appreciated

  • 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-23T04:12:26+00:00Added an answer on May 23, 2026 at 4:12 am

    See the answer given by Kocus to my question Controlling Tab colour-state / size in a TabActivity? It covers creating your own custom layouts for the Tabs.

    Possibly more than you need as I was looking to do more than just text position and size but it’s fairly straight-forward. Also, I haven’t found any other way of doing anything with the tabs without using this sort of approach.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a tabhost with three tabs. Each is an activity. I would like
I have a custom TabHost that adds tabs like this private void setTab(View view,
I have an Android app with 3 tabs in a TabHost (text labels, no
I have created four tabs using tabhost, and placed four listviews in each like
I have a tabhost with two tabs. Each tab has his own activity. My
I have an activity that has a TabHost containing a set of TabSpecs each
Currently I have a TabHost implemented with 3 tabs each containing a separate activity.
I have an application with various tabs (on a tabhost), each tab is an
[Solution at the bottom] I need a tab to have the following behaveyour but
I have a TabHost holding 5 tabs. As far as I can see, there

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.