3

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.

Rahul Sharma
  • 2,867
  • 2
  • 27
  • 40

1 Answers1

0

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

Android transparent status bar and actionbar

Community
  • 1
  • 1
Sadiq Md Asif
  • 882
  • 6
  • 18