有谁知道我怎样才能实现新的视差滚动效果 - 你可以看到效果,当你打开的PlayStore一个应用程序,并尝试向下滚动,内容越过顶部图像。我怎样才能做到这一点?
Does anyone know how can I achieve the new parallax scrolling effect - you can see the effect when you open an app on the PlayStore and try to scroll down, the content goes over the top image. How can I achieve that?
你可以试试这个(FadingActionBar库): https://github.com/ManuelPeinado/FadingActionBar
You could try this (FadingActionBar library): https://github.com/ManuelPeinado/FadingActionBar
尝试在Android这个库的例子:https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demo
Try an example of this library on android: https://play.google.com/store/apps/details?id=com.manuelpeinado.fadingactionbar.demo
编辑:而不是第三方库使用本AppBarLayout和CollapsingToolbarLayout http://android-developers.blogspot.in/2015/05/android-design-support-library.html
Rather than third party library use this AppBarLayout and CollapsingToolbarLayout http://android-developers.blogspot.in/2015/05/android-design-support-library.html