Tags » Status Bar

Android status bar background color

To change status bar background color, setup the following in your v21/style.xml, inside your style.
Yes, they are only working after API 21.

<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:fitsSystemWindows">true</item>
<item name="android:windowTranslucentStatus">false</item>
<item name="android:windowTranslucentNavigation">false</item>
<item name="android:statusBarColor">@color/bgStatusBar</item> 205 more words

Detect navigation bar, or get it's height in Android

Problem: To solve different device display problem. (fitSystemWindows)

Some android device has a virtual navigation barWhen I want the application ActionBar or content fitSystemWindows=”true”, the content shown under the Status Bar and the Navigation Bar. 323 more words


How to Get the Android Nougat Status Bar and Notifications

Android Nougat won’t be launching until sometime later this year, and even when that happens, it could be many more months before it’s made into a custom ROM for your device, or ships on a flagship phone. 815 more words

Android N

Show notification in android status bar

    private void ShowStatusBarNotification(String contentTitle,String contentText)
        Notification notification = new Notification.Builder(getApplicationContext())

        NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);

        // notificationID allows you to update the notification later on. 10 more words

How to customize the Status Bar for your SSMS connections?

As a SQL Developer/DBA you usually have to work with multiple instances of SQL Server and switch your connection quite often (typically between Production, UAT and Dev environments).  141 more words



Some of us are really unlucky. Our android systems are still not receiving any lollipop or marshmallow update. But today, we will break that curse because I have here the answer – the app that could change the way we look at our phones, MATERIAL STATUS BAR PRO(lollipop)! 148 more words


How to change the status bar color using meta tag

You can change the appearance of the default status bar to either black or black-translucent. With black-translucent, the status bar floats on top of the full screen content, rather than pushing it down. 22 more words