getPixelInsetTop

public int getPixelInsetTop(boolean withActionBar)

Get the layout inset for any system UI that appears at the top of the screen.

Return

The layout inset (in pixels).

Parameters

withActionBar

True to include the height of the action bar, False otherwise.