Package-level declarations

Functions

Link copied to clipboard

Programmatically hides the soft keyboard.

Link copied to clipboard

Hides status bar from the activity.

Link copied to clipboard
inline fun <T : Activity> Context.launchActivity(options: Bundle? = null, noinline init: Intent.() -> Unit = {})

Launches an activity from a Context via Activity.startActivity.

inline fun <T : Activity> Activity.launchActivity(requestCode: Int, options: Bundle? = null, noinline init: Intent.() -> Unit = {})

Launches an activity from an Activity via Activity.startActivityForResult.

Link copied to clipboard
inline fun <T : Activity> newIntent(context: Context): Intent

Creates a new intent of type T.

Link copied to clipboard
fun AppCompatTextView.setPrecomputedTextFuture(charSequence: CharSequence?, executor: Executor? = null)

Sets the precomputed text future on the AppCompatTextView.

Link copied to clipboard
fun Activity.setStatusBarColor(@ColorRes colorRes: Int, lightBackground: Boolean = false)

Sets status bar color on the activity and optionally draws the status bar system ui in light or dark mode.

Link copied to clipboard

Programmatically shows the soft keyboard.

Link copied to clipboard

Shows status bar on the activity.

Link copied to clipboard

Apply tinting to a vector drawable.

Properties

Link copied to clipboard

Whether animation is turned on on the device.

Link copied to clipboard

Returns screen size of the activity.