Skip to content
仿微博、酷安点击加号揭露动画弹出菜单+背景模糊效果
Branch: master
Clone or download
Latest commit 2ae439c Jun 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Jun 25, 2018
app Jun 25, 2018
gradle/wrapper Jun 25, 2018
screenshot Jun 25, 2018
.gitignore
README.md
build.gradle Jun 25, 2018
gradle.properties Jun 25, 2018
gradlew Jun 25, 2018
gradlew.bat Jun 25, 2018
settings.gradle Jun 25, 2018

README.md

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

You can’t perform that action at this time.