From 3947174959f7ecf83a43595193456ff94ea88a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 24 Oct 2014 20:33:56 -0700 Subject: [PATCH] Android: Removed status bar. --- examples/common/entry/entry_android.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/common/entry/entry_android.cpp b/examples/common/entry/entry_android.cpp index b1615b64..329b0a48 100644 --- a/examples/common/entry/entry_android.cpp +++ b/examples/common/entry/entry_android.cpp @@ -49,6 +49,11 @@ namespace entry m_app->userData = (void*)this; m_app->onAppCmd = onAppCmdCB; m_app->onInputEvent = onInputEventCB; + ANativeActivity_setWindowFlags(m_app->activity, 0 + | AWINDOW_FLAG_FULLSCREEN + | AWINDOW_FLAG_KEEP_SCREEN_ON + , 0 + ); const char* argv[1] = { "android.so" }; m_mte.m_argc = 1;