stomhong / customizekeyboard Goto Github PK
View Code? Open in Web Editor NEW完全自定义的Android安全键盘
完全自定义的Android安全键盘
当EditText增加了maxLength属性时,当EditText输入达到maxLength值时,切换到标点,再输入一个标点就会崩溃。
KebboardUtil中的内部类OnKeyboardActionListener的onText方法,需要增加判断ed.getText()的长度是否大于maxLength的长度。
我们原生 的app可以直接使用您的app,还有些基于Ionic6的框架实现的非原生app,也想使用您的自定义键盘,不知道如何实现ionic的插件
下载您的demo,数字和符号没问题,但是字母打不出来
View is overlapped by this custom keyboard, even if we set android:windowSoftInputMode="adjustResize" in manifest file.
键盘的标题可以去掉吗?
华为底部的虚拟键盘,遮挡住了自定义键盘底部,怎么解决哈
两个EditText,都设置安全键盘,EditText1输入,接着EditText2输入,这时强制调用EditText1.requestFocus() 获取焦点,虽然页面光标已经切换到EditText1,这个时候键盘输入,则还是操作EditText2。
@StomHong 你好,请问下让键盘里面字符变成粗体
我试了设置paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
没有效果
物理返回键能否判断下 自定义键盘是否弹出。如果弹出的话,物理返回键关闭自定义键盘,而不是直接返回上一个界面或退出app。
KeyboardUtil是否能提供个api,用于判断键盘是否显示。
想定义一个可以输入数字字母符号和文字的键盘,大神该什么定义呀?求指教!
@StomHong
@xiwenhec @ziyeyouhu
demo中第二个edittext选中时,按菜单切到后台之后,在选中项目切回来,系统自带输入法会一直弹出来 没办法隐藏
keyboardUtil.hideAllKeyBoard(); 我在onresume里调用 没效果
So sorry, I posted this in the wrong repo.
在有abc、数字、标点符号的键盘下没有完成按钮
不能在dialog上使用
可能导致大小切换错乱
而且高度还得设置为0,权重为1 ? 这样很有局限性
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.