I tried
setting the statusBarColor to transparent, but it leaves a shadow
setting the windowTranslucentStatus to true, but it leaves a shadow
mixed and matched the above properties with fitsSystemWindow... no success
doing the following achieves the goal of completely transparent status... but also makes the nav bar completely transparent
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
Window w = getWindow(); // in Activity's onCreate() for instance
w.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);
}
How can I make only the status bar 100% transparent without touching the navBar
minSdk: 21
target: 26
compile 26
Android studio 3.0 preview (latest as of 9/6/17)
use this hex colour #00000000 in status bar