Skip to content
プロジェクト

boxme/ParallaxHeaderViewPager

GitHubで見る

概要

Scrollable fragments within a viewpager that allows for parallax image and sticky bar effects

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Android ViewPager With Vertical Scroll

Description

A code demo to show one single parallax top image with a sticky toolbar, with a viewpager hosting fragments with scrollview and listview. The top image and sticky toolbar will be preserved when the user scrolls horizontally through the viewpager.

The code is based loosely from the snippets in http://nerds.airbnb.com/host-experience-android/ The differences are due to the inability to get the snippets to work as expected.

Caveat

  1. If one of the scrollable fragments does not contain enough elements for a full page scroll, the sticky toolbar will be translated back to the appropriate height, along with the top image.

Video Demo

Link: https://www.youtube.com/embed/Mam4TFEiWWI

関連プロジェクトを探す

読み込み中…