jungerr / gridpasswordview Goto Github PK
View Code? Open in Web Editor NEWAn android password view that looks like the pay password view in wechat app and alipay app.
An android password view that looks like the pay password view in wechat app and alipay app.
当用户误操作输入一段文字的时候你的那个判断就会失效 进不去
mTextColor = ta.getColorStateList(R.styleable.gridPasswordView_gpvTextColor);
if (mTextColor == null)
mTextColor = ColorStateList.valueOf(getResources().getColor(android.R.color.primary_text_light));
ISSUE FOUND:
android.R.color.primary_text_light is a ColorStateList xml resource. But the xml resource is called by Resources#getColor(int).
NOTICE THAT:
Resources#getColor(int) just return a color value (if the input xml resource is a ColorStateList xml resource, just return the default color of the ColorStateList xml resource.).
Are you sure to do that?
SUGGEST:
mTextColor = getResources().getColorStateList(android.R.color.primary_text_light);
attribute names like "lineWidth" are easy to conflict with other dependency libraries like 'ViewPagerIndicator'.
大大,请问怎么用自定义的键盘啊?在线等很急
In another word, can I specify layout_width & layout_height as wrap_content instead of hard-coded value?
Please make the proper use of below methods
@Override
public void setBackground(Drawable background) {
}
@Override
public void setBackgroundColor(int color) {
}
@Override
public void setBackgroundResource(int resid) {
}
@Override
public void setBackgroundDrawable(Drawable background) {
}
when I add compile to module`s dependencies ,it occurred.
Warning:Project lyun: apk dependencies can only be jars. com.jungly:gridPasswordView:aar:0.3 is an Android Library.
thanks you open project.
i have a problem.
how to get the keyboard input value?
i wait you answer,
very thanks,
thanks,i have get the password
very thanks you open project.
i'm a chinese developer
if haven't you project
my work will become diffcult.
after i will study you project very careful.
very thansks
I've tried
InputMethodManager inputManager = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.showSoftInput(pswView, InputMethodManager.SHOW_IMPLICIT);
it didn't work.
thank you all the same.
现在view不点击不会自动获取焦点
in my project ,i have to avoid system softkeyboard,how can i do it?
ths
gpvPasswordType 设置为 textVisiblePassword 无效
部分手机需要点击键盘两下才会开始输入
当控件获取焦点时,无法看到光标的位置,会让人无法确认当前是否处于编辑状态
First with the method of setPassword input 123 and then enter the character, found that fourth of the character is the first character
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.