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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:12:35+00:00 2026-06-13T07:12:35+00:00

Im attempting to add a scrollable header to a gridview layout in android, Ive

  • 0

Im attempting to add a scrollable header to a gridview layout in android, Ive tried about everything I could find on the web but I cant get it to work, this type of layout appears in a number of popular apps such as facebook and instagram but Im not able to find any such sample code that would give me an Idea as to how to actually do it, anyone know how this can be achieved? adding the gridview to a scrollview doesnt work either, below are some photos that illustrate what Im trying to achieve.

This is before the scroll:

before scroll

This is after the scroll:
after scroll

  • 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-13T07:12:36+00:00Added an answer on June 13, 2026 at 7:12 am

    Do not use a gridview. Instead use a listview which has this header functionality. And in the getView() method of your adapter you will have to return a list item divided into the number of columns you want.

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

Sidebar

Related Questions

I am attempting to add a WCF web service to my project and each
I am attempting to add BASIC authentication to a RESTful web service that I
I am attempting to add BASIC authentication to my RESTful web-service. Currently I have
I'm attempting to add Mercury editor and while modifying the layout for it, it
I'm attempting to add a UIImageView to the subview of a UILabel, but for
I am attempting to add a third-party library to my Android app. It utilizes
I am attempting to add the jQuery Print Preview Plugin into my website but
I am attempting to add a shape aesthetic mapping to an existing plot but
I'm attempting to add a 3rd party library (JmDNS) to my Android project. I
I am attempting to add embedded documents. I know this syntax is wrong but

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.