All Projects → idapgroup → keyboard-ktx

idapgroup / keyboard-ktx

Licence: BSD-3-Clause License
Kotlin extensions for hiding/showing and observe keyboard state.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to keyboard-ktx

SwipeSelection
An improvement to iOS's text editing that allows you to move the cursor and select text using gestures on the keyboard itself.
Stars: ✭ 99 (+607.14%)
Mutual labels:  keyboard
FatBottomedBoard
Ben's Custom Keyboard. Huge, large & heavy board for daily work
Stars: ✭ 18 (+28.57%)
Mutual labels:  keyboard
Chess-Helper
Simple Chrome extension adding nice features to chess.com website
Stars: ✭ 23 (+64.29%)
Mutual labels:  keyboard
usbhostcopro
USB Host Co-processor
Stars: ✭ 54 (+285.71%)
Mutual labels:  keyboard
better-keyboard
A js keyboard component for mobile.
Stars: ✭ 55 (+292.86%)
Mutual labels:  keyboard
keychron
Settings for Keychron keyboards
Stars: ✭ 529 (+3678.57%)
Mutual labels:  keyboard
creviceapp
Multi purpose utility which supports gestures with mouse and keyboard.
Stars: ✭ 22 (+57.14%)
Mutual labels:  keyboard
vise
A keyboard driven browser with tabs in a tree
Stars: ✭ 87 (+521.43%)
Mutual labels:  keyboard
SerialProxy
🖱️⌨️ Arduino Input Proxying for PC (.NET Core)
Stars: ✭ 39 (+178.57%)
Mutual labels:  keyboard
Unexpected-Keyboard
A lightweight virtual keyboard for developers.
Stars: ✭ 145 (+935.71%)
Mutual labels:  keyboard
PGNumberKeyboard
一款非常简单漂亮灵活的自定义数字键盘.
Stars: ✭ 16 (+14.29%)
Mutual labels:  keyboard
KioskBoard
KioskBoard - A pure JavaScript library for using virtual keyboards.
Stars: ✭ 114 (+714.29%)
Mutual labels:  keyboard
barrier
Open-source KVM software
Stars: ✭ 17,366 (+123942.86%)
Mutual labels:  keyboard
YetAnotherKeyDisplayer
The application for displaying pressed keys of the keyboard
Stars: ✭ 88 (+528.57%)
Mutual labels:  keyboard
KeyHide
Easy way to hide Android keyboard on background tap without any effort.
Stars: ✭ 54 (+285.71%)
Mutual labels:  keyboard
swipe-keyboard
Swype type keyboard module for simple-keyboard
Stars: ✭ 32 (+128.57%)
Mutual labels:  keyboard
qmk-comment-gen
Generates fancy layout comments from qmk keymap.c
Stars: ✭ 28 (+100%)
Mutual labels:  keyboard
Teleprinter
The missing Android keyboard API
Stars: ✭ 33 (+135.71%)
Mutual labels:  keyboard
SHKB
A programmable (QMK/TMK supported) HHKB controller with integrated hub
Stars: ✭ 34 (+142.86%)
Mutual labels:  keyboard
EasyEmoji
Help developers to quickly realize the expression of the keyboard
Stars: ✭ 24 (+71.43%)
Mutual labels:  keyboard

Keyboard Kotlin Extensions

Kotlin extensions for hiding/showing and observe keyboard state.

Download

Download

Add repository to your root build.gradle

repositories {
    jcenter()
}
dependencies {
  implementation 'com.idapgroup:keyboard-ktx:latest-version'
}

Usage sample

class ExampleActivity  :  AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        changeKeyboardStateButton.setOnClickListener {
            if(isKeyboardShown) {
                hideKeyboard() 
            } else {
                editText.showKeyboard()
            }
        }
        onKeyboardShowChanged { shown: Boolean, height: Int ->
            // your use of shown and height
        }
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].