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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:28:45+00:00 2026-06-18T12:28:45+00:00

My android application possesses two fragments 1. Left one( that is a menu list)

  • 0

My android application possesses two fragments
1. Left one( that is a menu list)
2. Right one( that is the detail of one item of the left menu)

The problem i am facing is to add tabs on each detail screen(the right one)
I searched a lot with the tags “tabs inside fragment” or “how to add tabhost in a fragment” etc.

Please help me out.
I am stuck in it! 🙁

  • 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-18T12:28:46+00:00Added an answer on June 18, 2026 at 12:28 pm

    Im facing the same problem and this solution works for me:

    MainActivity – This activity contains the actionbar tabs (not tabhost)

    Fragment1 (tab1)

    Fragment2 (tab2) – This Fragment has inside 1 LinearLayout on left to show a menu with weight = 1 and other LinearLayout on right to show the details. Inside the right linearLayout i have styled a Radiogroup to show this radiogroup like tabs (something like this: https://github.com/makeramen/android-segmentedradiobutton but with tabs assets) Then I will change linearlayouts to simulate tabs inside the detail fragment.

    I hope you get the idea

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

Sidebar

Related Questions

my android application is formed by several activity, one service (that communicate with a
An Android application has two activities. Activity A shows a list of items. Activity
My android application starts a service in the onCreate() callback of a class that
I have an Android application that targets API 17 and has a minimum SDK
I have a basic Android Application with 2 Fragments. I am trying to fill
My Android application comprises two parts: frontend written in Java and game written in
I have a C++ Android application that I'm trying to debug with ndk-gdb. The
My Android application uses minSdkVersion=3 and targetSdkVersion=8. I used 8 because that is the
My Android application has an ActionBar that changes which Fragment occupies a certain FrameLayout
My Android application does some calculations, but I noticed recently that if I were

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.