Transparent action bar for an android app

Posted On // Leave a Comment


When Android 4.4 KitKat was released, everyone was excited to see the new translucent status bar and navigation bar. It adds a whole new level of beauty to the operating system.

We will be making the status bar (the black bar on the top of the screen) transparent, along with the navigation bar (the black bar at the bottom of the screen).

//to make action bar transparent paste this in styles.xml within the style tags

<item name="colorPrimary">@android:color/transparent</item>
        <item name="windowActionBarOverlay">true</item>

I have successfully put this in my app. So you may ask any doubts you may have via the comments section below.

0 comments :

Post a Comment