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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:48:33+00:00 2026-05-31T00:48:33+00:00

I need my Android Listview to display a Help screen as a header which

  • 0

I need my Android Listview to display a Help screen as a header which will be displayed when the user over scrolled.

I tried using PulltoRefreshListView, But, i have a problem when the number of rows are less and the height is less than the list height. The header view is automatically displayed even before pulling it down.

I achieved this functionality very easily in 2.2 android version by using a small line of below code.

listview_object.setPadding(0,-height_of_the_header,0,0);

This piece of code is not working for 2.3 and above as the overscroll is locked in those versions.

Even there is a method like setOverscrollMethod(int) for 2.3 and above, but is not working.

Can someone help me to resolve this… ?

My requirement is just to display a help screen which will be coming from the top of the listview when user overscrolled from top to bottom.

  • 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-31T00:48:34+00:00Added an answer on May 31, 2026 at 12:48 am

    Maybe you can use this widget

    It will not shows header when lines’ height is less than ListView’s.

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

Sidebar

Related Questions

I need to add a shake feature that will refresh my Android application. All
I need some help dealing with three Threads in Android One thread is the
I need to display results from a SQL join in a ListView/ListActivity. I've created
I am using listview to display data, inside listview i am using image in
i need to display some records in listview but when i am calling services
I am working on android applications. In my project I need to create Listview.
I'm working on expandable listview. I need to display different images in imageview of
I need to implement an Android viewer to display a list of results (from
i am new to java and android. I need some help with my main.xml
In my Java android application I use a listview to display information loading from

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.