chen-keeplearn / splitedittextview Goto Github PK
View Code? Open in Web Editor NEWAndroid类似支付宝密码输入框,美团外卖验证码输入框,验证码粘贴等;有效果图,有demo;支持下划线,方框,连体框样式;可设置光标、光标颜色,下划线输入时高亮,边框大小、颜色、圆角等等;设置密码显示的样式
License: Apache License 2.0
Android类似支付宝密码输入框,美团外卖验证码输入框,验证码粘贴等;有效果图,有demo;支持下划线,方框,连体框样式;可设置光标、光标颜色,下划线输入时高亮,边框大小、颜色、圆角等等;设置密码显示的样式
License: Apache License 2.0
输入完验证码后收起键盘,再次点击弹出键盘,无法删除内容,需要几秒钟后才 可以点击
键盘缩下去之后 重新获取焦点的时候 就无法输入了 也无法删除
error: duplicate value for resource 'attr/cornerSize' with config
项目中的名称和谷歌其他包的冲突,编译的时候报出重复问题
谷歌 'com.google.android.material:material:1.1.0'
需要修改代码:
/**
* 根据输入内容显示模式,绘制内容是圆心还是明文的text
*/
private void drawContent(Canvas canvas) {
int cy = getHeight() / 2;
TransformationMethod mTransformationMethod = getTransformationMethod();
String password = getText().toString().trim();
if(mTransformationMethod != null) {
password = mTransformationMethod.getTransformation(password,this).toString();
}
//....
}
怎么设置输入框字符大写模式和设置输入框背景颜色
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.