【起航计划 015】2015 起航计划 Android APIDemo的魔鬼步伐 14 App->Activity->Translucent Blur 模糊背景
2024-10-20 21:09:53
这个例子和Translucent不同的一点是Blur,也就是显示在当前Activit背后的其它Activity以模糊方式显示。
这是通过window对象Flag来设置的。
// Have the system blur any windows behind this one.
getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
其它设置Theme和Translucent示例一样。
最新文章
- Communication - 01.Foreword
- Codeforces Round #198 (Div. 2)
- SQL日语词汇
- velocity模板技术生成word文档
- mybatis()
- 新图形API为unity5 带来了什么&;下一代新图形API的好处
- Some code changes cannot be hot swapped into a running virtual machine,
- [转载]Android利用convertView优化ListView性能
- Notice : Soft open files now is 1024, We recommend greater than 10000
- PHP数据类型转换(字符转数字,数字转字符)
- Elastic Stack之FileBeat使用实战
- JDBC笔记总结[申明:来源于网络]
- 使用nginx实现浏览器跨域请求
- 【CF472G】Design Tutorial: Increase the Constraints
- Lambda表达式 简介 语法 示例 匿名内部类
- 亲自己主动手从源代码 构建 Groovy 2.3.8 公布包
- 一致性哈希算法(consistent hashing)(转载)
- 轻量ORM-SqlRepoEx (七)AspNetCore应用
- Visual Studio 2010安装包
- opencv报错 error: (-215) size.width>;0 &;&; size.height>;0 in function cv::imshow
热门文章
- php屏蔽错误消息
- 使用Tensorflow object detection API——环境搭建与测试
- [JavaScript]Prototype继承
- 解决SharePoint2013产品过期问题
- poj1860 兑换货币(bellman ford判断正环)
- html一些常用的符号
- PHP漏洞全解—————9、文件上传漏洞
- 微软原版SQL Helper
- pdf.js使用爬过的坑
- shell中各种括号()、(())、[]、[[]]、{}的作用和区别