I am currently working on the fact that I want the status and navigation panels to be transparent and the content to remain with them. I currently have the bars set for @android: color / transparent in styles.xml and I can get the contents behind the status bar using this code:
getWindow().getDecorView().setSystemUiVisibility(
View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
);
However, I am still struggling to take this place in the navigation bar. Any help was appreciated.
Thanks Josh
source
share