android-components / mozilla.components.support.utils / StatusBarUtils

StatusBarUtils

object StatusBarUtils (source)

Functions

Name Summary
getStatusBarHeight fun getStatusBarHeight(view: <ERROR CLASS>, block: (Int) -> Unit): Unit
Determine the height of the status bar asynchronously.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.