Skip to content

A Draggable and Floating KeyboardView for android that several EditText's can register to use it.

License

Notifications You must be signed in to change notification settings

GeorgeArgyrakis/FloatingKeyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8c46294 · Nov 6, 2018

History

21 Commits
May 2, 2017
Nov 5, 2018
Nov 5, 2018
May 2, 2017
Feb 5, 2017
Aug 20, 2018
Feb 5, 2017
May 2, 2017
Feb 5, 2017
Feb 10, 2017
Feb 5, 2017
Feb 5, 2017
Feb 5, 2017
Feb 5, 2017

Repository files navigation

FloatingKeyboard

A Floating and Draggable KeyboardView for android that several EditText's can register to use it.

Alt text

Usage

Use it as normal keyboard view and

  1. Place FloatingKeyboardView inside a FrameLayout or a RelativeLayout (TIP: Put it last or/and with some elevation)
  2. Make an xml with you keyboard layout (https://developer.android.com/reference/android/inputmethodservice/Keyboard.html)
  3. Declare it in activity code FloatingKeyboardView mCustomKeyboard = (FloatingKeyboardView) findViewById(R.id.keyboardview);
  4. Assign the keyboard layout mCustomKeyboard.setKeyboard(new Keyboard(this, R.xml.numkbd));
  5. Register edittexts to use it mCustomKeyboard.registerEditText(R.id.edittext1);

Optional but highly recommended:

  1. Set a transparent background android:background="@android:color/transparent"
  2. Disable text shadow android:shadowRadius="0.0"
  3. Make a drawable selector and use as a key background android:keyBackground="@drawable/keyback"

About

Based on the following great guide from Maarten Pennings (http://www.fampennings.nl/maarten/android/09keyboard/)

About

A Draggable and Floating KeyboardView for android that several EditText's can register to use it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages