0

In an Android project, I'm creating a browse feature which uses a ListView to display content.

My goal is to create a fixed element which remains at the top of the screen, no matter how far down I scroll in the ListView.

What is the correct term in an Android Development environment for an item that stays on the top of the screen even after scrolling down?

As I've browsed S.O. to learn how to approach my problem, I've seen people use the word "fixed" before, but that term seems to be more associated with HTML and CSS. I'm trying to learn what keywords I use as I search for ways to solve my problem. Any suggestions?

Timothy Steele
  • 773
  • 1
  • 7
  • 19
  • Sticky. Check this out http://stackoverflow.com/questions/20926570/sticky-row-in-listview-in-activity – Yuva Raj May 08 '15 at 06:47
  • android list view header, footer. see this http://stackoverflow.com/questions/16812191/android-listview-with-fixed-header-and-footer – Bruce May 08 '15 at 06:52

1 Answers1

0

You can use the term Sticky. According to your question you need the items to be at top always. So, it's Sticky Header :)

Here are some great libraries to achieve easily in quick.

  1. Header List View
  2. Sticky List Headers
Yuva Raj
  • 3,881
  • 1
  • 19
  • 30