方式1
styles里增加:
true
true
完整代码样例:
@color/colorPrimary
@color/colorPrimaryDark
@color/colorAccent
true
true
Manifest定义:
方式2
activity代码中设置(在setContentView方法前调用):
supportActionBar?.hide()
window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
安卓开发入门教程系列汇总
安卓发展历程及前景
安卓发展历程
安卓开发前景展望
初探安卓
安装开发工具
创建第一个安卓工程
开发语言学习
Kotlin语言基础
UI控件学习系列
UI控件_TextView
UI控件_EditText
UI控件_Button
UI控件_ImageView
UI控件_RadioButton
UI控件_CheckBox
UI控件_ProgressBar
关注头条号,第一时间获取最新文章:
