首页 » Andorid » 临时分类 » 正文

GpCollapsingToolbar

GooglePlay-CollapsingToolbar

Extended CollapsingToolbar that implemented scrolling behaviour like in Google Play app

Download

Gradle:

compile 'com.github.VyacheslavShmakin:gp-collapsing-toolbar:1.0.1'

Maven:


    com.github.VyacheslavShmakin
    gp-collapsing-toolbar
    1.0.1
    aar

Usage

In Code

If you wanna enable/disable or check like Google Play app styled behaviour programmatically you should call these methods

myGpCollapsingToolbar.setGooglePlayBehaviour(true);
myGpCollapsingToolbar.isGooglePlayBehaviour();

In xml

You should use the same parameters that defined in support.design library for CollapsingToolbar with "gp_" prefix


            ...
下载 (0)

发表评论