如何去掉状态栏和内容视图之间的黑色阴影线 在values的styles文件中添加自定义样式:
如果要应用在本应用的所有activity上面,在manifest文件的application节点中添加属性android:theme="@style/MyApp.BaseTheme"如果只要应用在某个activity上面,在manifest文件的对应的activity中添加 android:theme="@style/MyApp.BaseTheme"