随笔(三十七)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_27073205/article/details/86626888

https://www.jianshu.com/p/f3d90dc23567
2.https://blog.csdn.net/df0128/article/details/80435773
JAVA数组初始化
3.
CardView卡片式布局
https://www.cnblogs.com/laoyimou/p/6639685.html
4.
TextView分段显示不同颜色的字符串
https://www.jianshu.com/p/16ee30b44e84
4.
Android跳转小程序
https://blog.csdn.net/yanxiaosa/article/details/83144438
https://blog.csdn.net/qq_33722930/article/details/83001373
5.
Android 8.0对悬浮窗弹框优化
https://www.jianshu.com/p/78953f3c07d5
//8.0系统加强后台管理,禁止在其他应用和窗口弹提醒弹窗,如果要弹,必须使用TYPE_APPLICATION_OVERLAY
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
dialog.getWindow().setType((WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY));
}else {
dialog.getWindow().setType((WindowManager.LayoutParams.TYPE_SYSTEM_ALERT));
}
dialog.show();
https://cloud.tencent.com/developer/article/1349773

猜你喜欢

转载自blog.csdn.net/qq_27073205/article/details/86626888