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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:02:01+00:00 2026-05-26T13:02:01+00:00

I am developing an application where i am using TabHost.Now , at launching of

  • 0

I am developing an application where i am using TabHost.Now , at launching of the application the TabWidget remains disable. I have four buttons on the starting page of the application. When a user clicks one of the buttons , the TabWidget become enable. So far i have done that but now i want to add a toast message which is shown when the user doesn’t select any of four buttons but clicks on the TabWidgets. The toast is for prompting user that he/she have to select any of the four buttons above to enable TabWidget.

Please help me on the issue. Give some idea / sample code / example how can i do that

  • 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-26T13:02:02+00:00Added an answer on May 26, 2026 at 1:02 pm

    I have taken some different approach to do the task. I have set a relative layout above tabwidget & set the background color to transparent black , so the tabwidget will still remain visible to user. Then i have set a onclicklistener for the relative layout. So whenever a user taps on the tabwidget, actually he/she is tapping on the relative layout & a toast message will be displayed to prompt the user that the tabwidget is currently disable. When user will enable the tabwidget , the relative layout become invisible & the tabwidget come on top using bringtofront function. Thus i have done the trick on my app.

    Sharing my idea because it can be useful for others too ….. 🙂

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

Sidebar

Related Questions

I am developing an application using MVC Preview 5. I have used typed views.
I am developing an application using Symfony 1.4. Is it posible to disable a
Developing iphone application using makkit framework. I have got the map view integrated in
I am developing application using phonegap in eclipse for android .I have created folder
I'm developing application using VC++ 6. I have a 3rd party DLL. This library
I am developing an application using jQuery that uses cookies. Right now, it is
I am developing my application using spring-web-mvc... Now at my Controller it returns like
I am developing application application using C++ VS 2008. Now I need to either
I am developing an application using oracle 11g, Java(struts2) and Hibernate. I have table
I have begun developing an application using the Entity Framework. I have added a

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.