I need to make transparent status bar. I am using getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS) and it is make status bar as I want. Bu
getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS)
yes , You can use this code in Style.xml
Then to apply it to your layout, simply add the following line in the root layout(view):
android:theme="@style/transparent"