tablet - Asus Memo Pad 10 (ME102A) - It is posible to hide navbar with Android Jelly Bean 4.2.2? -


i'm developing app needs fullscreen. i've tried coding without success makes me wonder if possible. if there way, how achieve this? if there not, suggest?

thanks.

it depends on target api. 4.4 or later might start https://developer.android.com/training/system-ui/immersive.html.

otherwise try:

public void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);      requestwindowfeature(window.feature_no_title);     getwindow().setflags(windowmanager.layoutparams.flag_fullscreen,          windowmanager.layoutparams.flag_fullscreen);      setcontentview(r.layout.main); ... 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -