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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:43:52+00:00 2026-06-03T03:43:52+00:00

I have items in my View which are displayd on click and does not

  • 0

I have items in my View which are displayd on click and does not show up on that start of the activity.
Now everything works fine but when i use the graphical layout tool i see those items and it makes working with it harder.

Meaning, i have a ListView with items, i see those items on top of everything.

How can i hide those elements? setting the visibility programaticlly dosen’t help.
Should i do something like setting alpha to 0 and then add it instead of making items invisible?
Seems like a dumb idea, there must be some option i’m missing.

Help anyone?

Thanks,
Eric

  • 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-03T03:43:53+00:00Added an answer on June 3, 2026 at 3:43 am

    Why not set the visibility to ‘gone’: android:visibility="gone"? That will prevent layout items from showing up and taking up space in the layout.

    Alternatively, if some elements in your view hierarchy may never be shown to the user at all, you could use ViewStubs to ‘lazily’ load them at runtime. A ViewStub is simply a placeholder for some other view (hierarchy) and is empty and zero-sized by itself. It’s a good way of separating your view hierarchy into default and optional elements, and can potentialy reduce the complexity of the view hierarchy at runtime significantly.

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

Sidebar

Related Questions

I have a list view with over 100 items. Each of these items show
I have a table view with a lot of items when i click on
I have created a list view that displays the names and dates of items
I have an autocomplete which does a query to DB....when doing a click on
I have one function which is called on list item Click and list items
I have a list view control which at the moment only allows one item
I have a ListView whose size is fixed to maximum of 10 items View
I have a list view where the list items have the following background drawable
I have a view for news items and one for events. I want to
I have a tree view representing certain items. This tree is always two levels

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.