Package-level declarations
Properties
Functions
Simplify using AlertDialog
Sets the screen brightness. Call this before setContentView. 0 is dimmest, 1 is brightest. Default value is 1
Creates shortcut launcher for pre/post oreo devices
Makes the activity enter fullscreen mode.
Makes the Activity exit fullscreen mode.
Returns display density as ...DPI
Hide keyboard for an activity.
This snippet hides the system bars.
Iterate through fragments attached to FragmentManager and pop's one after the other.
An extension to postponeEnterTransition
which will resume after a timeout.
Force restart an entire application
Set Navigation Bar Color
Set Navigation Bar Divider Color if Build.VERSION.SDK_INT >= Build.VERSION_CODES.P
Set Status Bar Color
Set the action bar title
Show keyboard for an activity.
This snippet shows the system bars. It does this by removing all the flags except for the ones that make the content appear under the system bars.