Android Activity 不能被截屏的解决方法
作者:jingxian 时间:2021-06-28 08:37:35
在Activity 添加即可
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
来源:http://blog.csdn.net/mhw828/article/details/79248952
标签:Android,Activity,截屏
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Java如何实现定时任务
2021-11-07 02:57:38
C#将指定目录所有文件名转换成小写的方法
2023-01-25 23:21:03
Java日常练习题,每天进步一点点(42)
2022-10-28 01:42:54
![](https://img.aspxhome.com/file/2023/2/75792_0s.png)
java实现快速排序图文详解
2022-10-11 16:35:18
![](https://img.aspxhome.com/file/2023/3/65363_0s.jpg)
IDEA解决src和resource下创建多级目录的操作
2023-03-24 07:05:37
![](https://img.aspxhome.com/file/2023/0/63690_0s.jpg)
C#使⽤XmlReader和XmlWriter操作XML⽂件
2023-12-13 10:25:00
C++程序中启动线程的方法
2023-06-28 03:35:02
SpringBoot中使用Redis Stream实现消息监听示例
2021-09-02 04:42:07
![](https://img.aspxhome.com/file/2023/3/75423_0s.jpg)
SpringBoot整合Redis正确的实现分布式锁的示例代码
2023-05-05 14:59:58
![](https://img.aspxhome.com/file/2023/7/81297_0s.png)
Java对List进行排序的两种实现方法
2022-10-31 13:40:06
![](https://img.aspxhome.com/file/2023/8/65758_0s.png)
Java实现浪漫流星表白的示例代码
2023-04-02 14:50:35
![](https://img.aspxhome.com/file/2023/5/68715_0s.gif)
jvm运行原理以及类加载器实例详解
2023-10-23 18:39:03
![](https://img.aspxhome.com/file/2023/9/66019_0s.png)
Java虚拟机执行引擎知识总结
2023-06-05 17:34:31
java 出现Zipexception 异常的解决办法
2022-11-07 11:03:03
![](https://img.aspxhome.com/file/2023/7/85517_0s.png)
Spring Cloud微服务架构的构建:分布式配置中心(加密解密功能)
2021-10-24 05:49:59
![](https://img.aspxhome.com/file/2023/4/84604_0s.jpg)
C# 泛型集合的自定义类型排序的实现
2022-11-18 20:35:32
![](https://img.aspxhome.com/file/2023/3/87033_0s.png)
DecimalFormat多种用法详解
2022-11-13 15:06:52
对int array进行排序的实例讲解
2021-12-09 06:51:15
![](https://img.aspxhome.com/file/2023/1/68101_0s.png)
如何在Springboot实现拦截器功能
2023-01-10 01:11:38
![](https://img.aspxhome.com/file/2023/1/86831_0s.png)
解决Springboot项目启动后自动创建多表关联的数据库与表的方案
2023-11-24 01:11:27
![](https://img.aspxhome.com/file/2023/9/59719_0s.jpg)