[url]https://code.google.com/p/romannurik-code/source/browse/misc/scrolltricks#scrolltricks[/url] 请看附件中的StickyFragment.java