|
- function 导航栏颜色(颜色)2 K' r; e2 `- c
- --导航栏颜色& j# z: G; H* J
5 g' e2 L" {9 l- this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
6 j' d" H, j f+ ? ` - activity.getWindow().setNavigationBarColor(Color.parseColor (颜色))
?$ R) V+ A0 ?( T* S# h - end& E" d" S6 ]; k$ |1 W! |
- function 状态栏颜色(颜色)0 [$ C4 }7 d d6 m" h
- --状态栏颜色
+ C F8 s& e# Q6 D' G! d6 q - ) T6 c1 u# n: b* d& D; D/ j9 ?* \" o/ o
- this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
1 _, U, y w4 w, D - activity.getWindow().setStatusBarColor(Color.parseColor (颜色))
& J5 w7 x8 V' s - end
复制代码 |
|