yingLanNull / Hidekeyboard
Licence: apache-2.0
仿iOS输入法点击输入框以外区域 自动隐藏软键盘轻量级库 , Imitation iOS automatic hidden soft keyboard
Stars: ✭ 341
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Hidekeyboard
Custom Topre Guide
Guidelines for designing a custom Topre keyboard
Stars: ✭ 266 (-21.99%)
Mutual labels: keyboard
Whc keyboardmanager
IOS lightweight keyboard manager, use simple and powerful, the keyboard will never block input controls. iOS平台轻量级的键盘管理器,使用简单功能强大,键盘再也不会挡住输入控件
Stars: ✭ 296 (-13.2%)
Mutual labels: keyboard
Cordova Plugin Native Keyboard
🎹 Add a Slack / WhatsApp - style chat keyboard to your Cordova app!
Stars: ✭ 271 (-20.53%)
Mutual labels: keyboard
React Simple Keyboard
React Virtual Keyboard - Customizable, responsive and lightweight
Stars: ✭ 301 (-11.73%)
Mutual labels: keyboard
Chrysalis
Graphical configurator for Kaleidoscope-powered keyboards
Stars: ✭ 261 (-23.46%)
Mutual labels: keyboard
Android Slidingemojikeyboard
Our Sliding Emoji Keyboard app.
Stars: ✭ 286 (-16.13%)
Mutual labels: keyboard
React Hotkeys
React component to listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts.
Stars: ✭ 279 (-18.18%)
Mutual labels: keyboard
Markovkeyboard
keyboard layout that changes by markov frequency
Stars: ✭ 307 (-9.97%)
Mutual labels: keyboard
React Event Components
🛰 A set of React components designed to handle global events (interval, keyboard, touch, mouse, etc)
Stars: ✭ 271 (-20.53%)
Mutual labels: keyboard
Switch Desktop
⚡️ Keyboard-driven commands to navigate your apps faster
Stars: ✭ 320 (-6.16%)
Mutual labels: keyboard
Apnumberpad
Full clone of iOS number keyboard with the customizable function button.
Stars: ✭ 298 (-12.61%)
Mutual labels: keyboard
Chrome Fast Tab Switcher
⌨️ React-based extension to quickly switch to other open Chrome tabs with just your keyboard
Stars: ✭ 332 (-2.64%)
Mutual labels: keyboard
React Native Input Scroll View
Perfect TextInput ScrollView
Stars: ✭ 323 (-5.28%)
Mutual labels: keyboard
Neural chinese transliterator
Can CNNs transliterate Pinyin into Chinese characters correctly?
Stars: ✭ 310 (-9.09%)
Mutual labels: keyboard
Hidekeyboard
Abstract
Modelled on the iOS implementation click on the input box area, soft keyboard hide, a super easy to use library of lightweight.
Chinese Documents
Gif
Demo
Usage
Step 1
Gradle
dependencies {
compile 'com.yinglan.keyboard:hidekeyboard:1.2.0'
}
Step 2
In Java Code
The main method
HideUtil.init(context);
OR
HideUtil.init(context,viewgroup);
OR
//Forced hidden keyboard
HideUtil.hideSoftKeyboard(activity);
OR
//Forced hidden keyboard
HideUtil.hideSoftKeyboard(view);
OR
//Forced hidden keyboard
HideUtil.hideDialogSoftKeyboard(dialog);
USE
{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
HideUtil.init(this);
}
}
OR
{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
ViewGroup viewGroup = (ViewGroup) findViewById(R.id.activity_main);
HideUtil.init(this,viewGroup);
}
}
OR
view.findViewById(R.id.view).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
HideUtil.hideSoftKeyboard(getActivity());
}
});
FAQ
The library implementation uses the top layer layout android.R.id.content the OnTouchListener listener, rewrite the monitor to be noted.
License
The work done has been licensed under Apache License 2.0. The license file can be found here. You can find out more about the license at:
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].