madprops
madprops

Reputation: 4023

Show TextView when pulling down a ListView

I'm not sure if this is possible but I want to show a TextView that would be on top of a ListView but not shown, when I pull down the ListView the TextView reveals itself, if I let go the TextView hides again. Any help is appreciated.

Upvotes: 1

Views: 352

Answers (1)

iTurki
iTurki

Reputation: 16398

The only way you can achieve that is by using a Custom View or by building yours. ListView doesn't support this feature.

If you consider using a Custom View then you should check out this Android-PullToRefresh widget. It:

  • Supports ListView, ExpandableListView GridView & WebView!
  • Used by great apps like: Friendcaster, TweetCaster, Plume &The Verge.
  • Supports Pulling-down and Pulling-up.
  • Very customizable.

Upvotes: 2

Related Questions