Topbar Icon


Topbar Icon can be configured and modified in a set of different ways:

1️⃣ Change the icon for your own custom icon.
2️⃣ Trigger action from the icon.


1. Custom Icon Left

Out of the box you can override the value of appIcon from the KeyboardService and change it for your own icon.

    override val appIcon get() = R.drawable.ic_logo

2. Trigger Action

The appIcon includes a trigger action that can be overrided directly in the KeyboardService.

  override fun onAppsButtonClicked() {
    // Do whatever you want
    // Example
    val intent = Intent(this, MainActivity::class.java)
    intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK
    startActivity(intent)
  }

If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on July 25, 2023