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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:33:57+00:00 2026-06-08T10:33:57+00:00

Android provides tab layout for us to separate the application into few activities. However,

  • 0

Android provides tab layout for us to separate the application into few activities.
However, is it a good practice to use tab layout?
Should we use buttons instead of tabhost?
I really have no ideas and I don’t know which fields I can compare between them.
Please help..

  • 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-06-08T10:33:59+00:00Added an answer on June 8, 2026 at 10:33 am

    One approach is to use TabHost and TabActivity. However, TabActivity is deprecated and it is recommended you use Fragments instead of this approach.

    Here is a good explanation and tutorial regarding Fragments. Note that if you are developing for Android below 3.0 (API 11), you will need to download the v4 support library to use fragments, and a couple of important method names will be changed from the tutorial.

    Another approach I have used before is to just use buttons and regular views, making sure to inflate and show each view when necessary. I haven’t done as much with Fragments, but they seem to take some of the work out of inflating the views, etc.

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

Sidebar

Related Questions

I am attempting to use a few of the simple android examples for Tab
I am working on android 2.2, In a Application tab of android manifest provide
Presently I am developing Android application for Samsung galaxy tab. I am using default
I'd like to create a 'settings' tab in my Android application which will look
Android provides some ways to save application information. http://developer.android.com/guide/topics/data/data-storage.html Now, my issue is that
Introduction Android provides two ways for me to use speech recognition. The first way
I am developing an application in android and i want to use the inbulit
I have developed a kernel module (Android) which provides me: PCM 16-bit 48000 Hz
To create facebook android native app we need to provide our Android application signature
I am in desperate need of good tutorials on Content Providers in Android. I

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.