I would like to set windowTranslucentStatus to true when the user is on a lollipop and above, because otherwise (at least on kitkat) the application panel appears inside the system panel. On a lollipop this is normal. Without creating separate styles.xml for each version, which apparently you no longer have to do, how can I install it in java?
I have the following code in my mainActivity, but donβt know the TranslucentStatus hot window ... Any ideas?
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { // set windowTranslucentStatus = true }
source share