jeneser / ionic-super-bar Goto Github PK
View Code? Open in Web Editor NEWTransparent statusBar and awesome toolBar DEMO in ionic
License: MIT License
Transparent statusBar and awesome toolBar DEMO in ionic
License: MIT License
Hi!
Well, I got it the status bar transparent following your tips, but when app start in the splash screen, the status bar is always black. =/
Any ideia?
Hi,
Can I implement the Android transparent status bar without super bar feature? I have tried that.But unable to do that.Please see the current functionality of my app.I have successfully implemented iOS status bar feature using native status bar plugin.But how can I do that with Android? In other words, how to change your solution to work with my use case.Thanks.
Note: I need to maintain the white background color with a fixed header (i.e. Discover
is header here).
How to install (ionic3?) + there is no file " MainActivity.java " in /platforms/android
Hi Jeneser,
I have used your way to make my application status bar transparent. It works great but when i include your code in my MainActivity.java file when keyboard pops up my page is not scrollable.
just like native andriod
don't show toolbar after 120px in full opacity
show it in opacity 0.01
and in 130px it will have opacity 0.15
Hi,
Can you please upgrade this project to Ionic 3? Thanks.
Hello friends, I am using this solution for the transparent navbar, but at least on some cell phones, the navbar looks the letters with BLACK colors, is there any way that these are white?
On the meizu phone ,the status bar can display normally, but it can't display properly on huawei mobile phone
I am using this on ionic 4.. I followed same as mentioned on doc my header get merged with statusbar
when I try to find out I figure out we can apply padding to status bar using _forceStatusbarPadding
in IonicModule
but this is also not working
can anyone help ?
With the setSystemUiVisibility change the input focus is lost, meaning when I have an input at the end of the screen the keyboard covers it now.
Here it was only transparent by modifying the function.
initializeApp() {
this.platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
// this.statusBar.styleDefault();
// Transparent status bar for android
// #AARRGGBB where AA is an alpha value
// if (this.platform.is('android')) {
this.statusBar.overlaysWebView(true); // add this
this.statusBar.backgroundColorByHexString("#33000000");
// }
this.splashScreen.hide();
});
}
IONIC CLI 3.19.0
hi, @jeneser I want to make dynamic navbar color on my app, how I could doing this?
Hi,
This is really nice work.Thanks for the project.
I have 2 questions:
How can I handle when header color is White
? Because text color is also white
, we cannot see the items in the status bar.
Can we use your option for Android and native status bar
plugin for iOS devices on the same project?
The implementation of the following code breaks ionic behavior to move the focused input above the keyboard:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_STABLE); }
It took me hours to figure out that it was causing this estrange behavior.
I am looking for a workaround for this issue.
When run platform add android
i got a error.
Error: Error validating package name. Package name must look like: com.company.Name
Please fix it~~
C:\Users\Admin\sample_Amber\platforms\android\src\amber\company\com\MainActivity.java:37: error: package Build does not exist
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
^
C:\Users\Admin\sample_Amber\platforms\android\src\amber\company\com\MainActivity.java:37: error: package Build does not exist
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
^
Note: C:\Users\Admin\sample_Amber\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java uses or overrides a deprecated API.
:compileDebugJavaWithJavac FAILED
How can i fix this error?
hi,i have an idea!
Feat: a new dynamic toolBar and tabBar demo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.