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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:22:50+00:00 2026-06-13T03:22:50+00:00

I am trying to put a list view in a scroll view which is

  • 0

I am trying to put a list view in a scroll view which is not possible as I found in several similar questions.

I have a quite large menu to be placed above list view, which completely hides the list view on small screens, so I need a scroll view which is not possible. I read that I should use a linear layout instead of list view to solve this problem. But not sure how to setup up an adapter on linearlayout. I am using a lazy adapter for image loading in the list view.

Code:

LinearLayout list=(LinearLayout)findViewById(R.id.listActivities);
adapter=new LazyAdapter(this, activityList);
list.setAdapter(adapter);
  • 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-13T03:22:52+00:00Added an answer on June 13, 2026 at 3:22 am

    As I understand from your question there is a single view that you wonna put at the top of your list view. Try to use ListView.addHeaderView(View v) for that purpose. See android API documentation for more info.

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

Sidebar

Related Questions

i am working on implementing list view, i have user BaseAdapter class.i am trying
I am trying to put table layout in list view in that table layout
I'm trying to put some custom list adapters into their own classes to make
Hello everyone I've been trying to put some objects in an ASP.NET list box
Im trying to make a textarea where you put in a list of things,
I have seen some links which am not able to trace it out.I am
I'm trying to put a ProgressBar view below a ListView for a ListActivity. I
I'm trying to put the contents of List mCartList; into a the sms_body below,
I have a ChaseSelection class which i use in casting my dropdown list objects,
In a MVC project am trying to create a view which has the Title

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.