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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:23:09+00:00 2026-05-29T09:23:09+00:00

I am new to android development but in the past few weeks I have

  • 0

I am new to android development but in the past few weeks I have been able to create a very basic app which is essentially a lookup table with two levels of groupings; category and subcategory followed by the item level detail. Users can scroll through the categories click one and go down to the specific subcategories within that category and finally clicking on a subcategory gets them to the item level detail which they are looking for.

I have read a lot and still learning but using my limited knowledge of activities, views, intents, cursors etc I created the app in the following structure:

  • Category ListActivity
  • Subcategory ListActivity
  • Item ListActivity
  • Tab TabHost

My main activity at launch is Tab which creates two tabs; All Items and Favourites. It also starts the Category ListActivity in the FrameLayout.

Side Note
Currently favourites is not created but what i would like to have is a star icon beside each item so users can click on it and favourite
and it would show up in the favourite tab. If anyone has a good
tutorial on this that would be greatly appreciated.

The main.xml has been created to the standard layout for Tabs but including a ListView within the FrameLayout which seems to work for the category listactivity but when you click on a category the subcategory activity is started but no tabs appear like they did in category. I tried setContentView(R.layout.main) in the beginning of the the onCreate() for the subcategory but it didn’t help… I am stuck in figuring this out.

Any suggestions on what I am missing or should do would be greatly appreciated.

Cheers

  • 1 1 Answer
  • 1 View
  • 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-29T09:23:10+00:00Added an answer on May 29, 2026 at 9:23 am

    From what I understand, you want the Category ListActivity and Subcategory ListActivity to appear the same tab. Though this may not be the ideal solution, I think you can achieve this by using an ActivityGroup. Here is a link with more information:

    http://united-coders.com/nico-heid/use-android-activitygroup-within-tabhost-to-show-different-activity

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

Sidebar

Related Questions

I am very new to Android development and Java. Have read around but I'm
I am new to Java programming / Android development - but I have been
I'm new to both android and game development and have been trying to create
I am still pretty new to Android development, and I have not been able
I'm new to android development and I've developed a small app but I'm facing
I am relatively new to Android development but I do have a pretty good
I'm quite new to Android development (started 2 days ago) and have been through
I'm fairly new to Android development and am working on an app which allows
I'm new at Android Development but I have a good level at iOS/Java Development.
I am new to android development but I know how to create a starStyled

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.