Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

Getting status bar height

Hello everyone , I was working on status bar and found that we could get the height of the navigation bar at runtime. following is the code to get the height of the status bar. private int getStatusBarHeight() { int result = 0; ...

How to make Action Bar in Android?

Here I have created Action Bar in android. In android Action Bar is used to provide navigation and perform some actions. In this blog I have implement a Action Bar in my Android project and perform actions such as switching fragment. Below ex...

Styling the ActionBar with Search field in Material Theme

In this blog we use Toolbar, it is more generalization form of ActionBar. It support more feature than ActionBar. Toolbar is added in API level 21 but the good thing is we can use it in the below version by using supporting library. First you ...

Steps to import and use appcompat v7 support library in your project

If you want to use the ActionBar APIs in the support library. So before you can add the action bar, you must have to set up your project with the appcompat v7 support library. Steps given below to import and setup appcompat v7 support library...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: