Android: controling of status bar on splash screen and inside the app

You must Login before you can answer or comment on any questions.

Hi, in my project I want suppress (avoid) status bar (with batery status, clock …) and I have inserted:

<statusbar-style>none</statusbar-style>
<statusbar-hidden>true</statusbar-hidden>
In tiapp.xml. I see on start: - a short flash of bar, - during starting my spalsh screen without status bar - after starting of app I see the status bar.

Question:

How can I realize a uniformly style: every time with or without this status bar.

Can anybody help me with a hint?

Rainer

— asked 10 months ago by Rainer Schleevoigt
1 Comment
  • Hi Rainer, if you don't want status bar in your application and want to run it on full screen then you can do this:

    <statusbar-hidden>true</statusbar-hidden> 
      <fullscreen>true</fullscreen> 
      <navbar-hidden>true</navbar-hidden>
    This will solve your problem.

    — commented 10 months ago by Ashutosh Chaturvedi

3 Answers

Hi,

Set this property in tiapp.xml this will solve your problem:

<statusbar-hidden>true</statusbar-hidden> <fullscreen>true</fullscreen> <navbar-hidden>true</navbar-hidden>

Dont forget to clean and build the project after doing changes.

You can also refer to this post

Hope this solves your problem.

Hi Rainer, if you don't want status bar in your application and want to run it on full screen then you can do this:

<statusbar-hidden>true</statusbar-hidden> 
  <fullscreen>true</fullscreen> 
  <navbar-hidden>true</navbar-hidden>
This will solve your problem.

Your Answer

Think you can help? Login to answer this question!