Transparent status bar not working perfectly

1k Views Asked by At

I apologize to ask this question once because the previous solution couldn't address my problem.First I have set my style file with:

<item name="android:windowTranslucentStatus">true</item>

Then I included that style inside my activity in android manifest file.

After this is done I achieved my transparent status bar.But the activity details gone behind the actionbar. Then some one suggest me to put this code inside my parent view as

android:fitsSystemWindows="true"

This changed my status bar to dark grey(not transparent).I got confused what to do?I just wish to change my status bar to transparent.

1

There are 1 best solutions below

0
On

From this post's answer. He has a solution to transparent stats/tool bar

Android transparent status bar and actionbar