The status bar where the battery, time, and action bar are displayed is the title bar. I want to hide the status bar in my application, but display the action bar. Is it possible?
Write the following in Activity after onCreate:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
Here is a screenshot:
Source: https://habr.com/ru/post/974137/More articles:Why did annotate work unexpectedly here in potatoes? - matplotlibHow to make a temporary checkpoint (rather than commit)? - gitHow does val in scala differ from const in java? - javaFailed to update foreign key in Entity Framework 6 - c #Batch insert using native SQL in sleep mode - javaExplain how to use CheckBoxTableCell - javafx-8Twitter typeahead adds user data to dataset - javascriptfwrite () adds garbage data for output (WINE & Windows 7, mingw & MSVC; NOT linux / gcc) - cWhy is Eclipse so slow to save individual JavaScript, HTML, and CSS files? - springHow to remove all running $ interval in AngularJS? - angularjsAll Articles