Skip to content

仿微博、酷安点击加号揭露动画弹出菜单+背景模糊效果

Notifications You must be signed in to change notification settings

DuShuYuan/PlusMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ae439c · Jun 25, 2018

History

3 Commits
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018
Jun 25, 2018

Repository files navigation

PlusMenu

仿微博、酷安点击加号揭露动画弹出菜单+背景模糊效果

截图


没有像酷安那样扩展到导航栏,以后有机会可以再研究吧。

使用的PopupWindow实现的,主要部分有 背景揭露动画;+ 旋转动画;菜单项弹出动画;背景模糊效果

注意:在gradle中开启renderscript,支持模糊效果(高斯模糊也叫毛玻璃)

defaultConfig {
        applicationId "com.dsy.plusmenu"
        ...
        renderscriptTargetApi 25
        renderscriptSupportModeEnabled true
    }

参考项目

https://blog.csdn.net/SilenceOO/article/details/78976477

https://github.com/Manabu-GT/EtsyBlur

About

仿微博、酷安点击加号揭露动画弹出菜单+背景模糊效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages