Issue
Where the action bar meets the status bar there is this weird tint or elevation.
Does anyone know where I could find the settings to change it? Thanks
What it normally looks like:
What it looks like now:
Edit: I am also running Cyanogenmod 13.
Solution
Not sure where its adding that tint, but I was able to set it after it added back to normal
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.setElevation(0);
window.setStatusBarColor(getColor(R.color.colorPrimaryDark));
}
Answered By - ThatFellaNick
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.