处理popupwindow的相关问题,主要处理背景浮层问题.
在popup显示的时候,在寻找根据传入的view寻找到最外层的ViewGroup,在ViewGroup中添加一个黑色View,然后启动一个属性动画修改背景色.
为什么不使用属性动画修改Window的亮度? 在使用这种方法的时候,当返回上一个Activity时,屏幕会变黑,影响很不好,此外在很多机型上存在问题,尤其华为的一些机子上,屏幕亮度调节时有明显卡顿的感觉,体验非常不好.
处理popupwindow的相关问题,主要处理背景浮层问题.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.