最初想显示状态栏的时候,认为是st 的设置
后来在群里问了句,有人说应该设置android,先把Activity中的
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
去掉,依然没有显示状态栏
后来想到这个项目中还有phonegap,检查了一下设置,res/xml/config.xml中有一个配置
<preference name="fullscreen" value="true" />
果断修改为false,成功