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 7046543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:39:47+00:00 2026-05-28T02:39:47+00:00

I have an Android application that uses tabs. I already have the tabs, and

  • 0

I have an Android application that uses tabs.
I already have the tabs, and the Activities correctly on the application.
My problem is that, when I add the text and image on the tab, the text appears over the image.(EXAMPLE)
What I want is the text to appear bellow the image. This happens either if I use the image or a selector.
I use this code to add the tab to the tabHost:

// Do the same for the other tabs
intent = new Intent().setClass(this, CategoryListActivity.class);
spec = tabHost.newTabSpec(getString(R.string.category_title)).setIndicator(getString(R.string.category_title), res.getDrawable(R.drawable.ic_category)).setContent(intent);
tabHost.addTab(spec);

Any ideas on how I can fix this?

  • 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-28T02:39:48+00:00Added an answer on May 28, 2026 at 2:39 am

    I think the default behaviour is that (see some example here: http://mobileorchard.com/android-app-development-tabbed-activities/)

    The recommended tab images are darkish to avoid that, using white and grey as font color.

    To change that you will have to create custom tabs:

    Custom tabs in android

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

Sidebar

Related Questions

I have a screen that uses tabs in my android application. There is a
I have an Android application for pre-Honeycomb devices that uses custom tabs to launch
I have a Web Service and an Android application that uses this web service.
I have an AppEngine application that uses the blobstore to store user-provided image data.
I have written a simple Android application that uses a sqlite database which is
I have problem with my Android application. I need an application that will send
I am looking to create an Android application that uses Tabs. Requirements When a
I have an application that uses pictures, audio and some text from .txt... The
I have an Android application that uses speech recognition in an Activity. The GUI
I have an Android application, which uses javax.crypto to encrypt some text data in

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.