SystemBarConfig

public class SystemBarConfig

Class which describes system bar sizing and other characteristics for the current device configuration.

Functions

Link copied to clipboard
public int getActionBarHeight()
Get the height of the action bar.
Link copied to clipboard
Get the height of the system navigation bar.
Link copied to clipboard
public int getNavigationBarWidth()
Get the width of the system navigation bar when it is placed vertically on the screen.
Link copied to clipboard
public int getPixelInsetBottom()
Get the layout inset for any system UI that appears at the bottom of the screen.
Link copied to clipboard
public int getPixelInsetRight()
Get the layout inset for any system UI that appears at the right of the screen.
Link copied to clipboard
public int getPixelInsetTop(boolean withActionBar)
Get the layout inset for any system UI that appears at the top of the screen.
Link copied to clipboard
public int getStatusBarHeight()
Get the height of the system status bar.
Link copied to clipboard
public boolean hasNavigtionBar()
Does this device have a system navigation bar?
Link copied to clipboard
public boolean isNavigationAtBottom()
Should a navigation bar appear at the bottom of the screen in the current device configuration?