Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70752

Android Status Bar Transparent

$
0
0

@david_bc wrote:

Hi everyone .

I want a status bar transparent on Android.
I used status bar plugin :

  • Added this in config.xml for android platform :
       <preference name="StatusBarOverlaysWebView" value="true" />
       <preference name="Fullscreen" value="true" />

And this in app.component.ts (after platform ready) :

      this.statusBar.styleBlackTranslucent();

I obtain this result :
image

The app is in fullscreen, and the transparent status bar appeared when I scroll down at top of my App.

How can I achieve this without fullscreen mode and have the status bars that overlay the webview with transparent effect ? Like this :
image

Thanks for any help :slight_smile: and Happy new Year and coding

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>