android 修改状态栏和标题栏颜色
16lz
2021-01-23
android 有最低版19本限制的修改方法:
[java] view plain copy
- if(VERSION.SDK_INT>=VERSION_CODES.KITKAT){
- //透明状态栏
- getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
- //透明导航栏
- getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
- }
android 10-19api:
我网上找到的开源项目:https://github.com/jgilfelt/SystemBarTint
更多相关文章
- android studio 添加项目修改gradle2.2.3
- android studio 降低项目版本错误,no resource found
- 在android获取root权限的方法^_^。
- Android CheckBox控件使用OnClickListener和OnCheckedChangeList
- Android Studio安装app 报错的问题It is possible that this iss
- Google Maps API Key申请方法及地址
- android 笔记 --- Android Bitmap 建立或取得的方法
- Android自带Music播放器更新播放时间和进度条的方法
- zxing项目源码解读(2.3.0版本,Android部分)