My app runs completely full screen when this app is started, though after reducing the app and returning, The status bar pops up and pushing my thoughts down a little bit
? & Gt; & Lt; LinearLayout xmlns: Android = "http://schemas.android.com/apk/res/android" xmlns: myapp = "http://schemas.android.com/apk/res/com.example.draw" Android: Orientation = "Vertical" Android: layout_wind = "fill_parrent" android: layout_height = "fill_parent" & gt; & Lt; Com.example.draw.DrawView Android: Android: layout_width = "fill_parent" Android: layout_height = "wrap_content" android: visibility = "visible" Android: fitsystem windows = "wrong" /> & Lt; Com.admob.android.ads.AdViewAndroid: Android: layout_width = "fill_parent" Android: layout_height = "wrap_content" myapp: backgroundColor = "# 000000" myapp: primary text = "#FFFFFF" myapp: secondary text queller = "# CCCCCC "Android: Layout_Gravity =" Lower "/>
Here is a part of my activity creation:
requestWindowFeature (Window.FEATURE_NO_TITLE); GetWindow () Set Flag (WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
I also have a fullscreen theme in the manifest:
Android: Theme = "@Android: style / theme.back.No titlesbar fullscreen" / Code>
thanks
Status bar / notification are known bugs bar .
See:
Comments
Post a Comment