CodeEditView icon indicating copy to clipboard operation
CodeEditView copied to clipboard

Android验证码方格输入框

Results 7 CodeEditView issues
Sort by recently updated
recently updated
newest added

app:borderMargin="@dimen/dp_24" app:borderSize="@dimen/dp_35" app:textSize="@dimen/sp_12" dimen属性无法使用,会报java.lang.UnsupportedOperationException:Can't convert value at index 2 to in 建议增加支持 例如

怎么设置都不行,常用的给他父布局设置 android:focusable="true" android:focusableInTouchMode="true" 就可以拦截焦点了, 这个就是拦截不了,

App切换到后台,去复制验证码,再切回来的时候输入法上方会出现刚才复制的验证码,点击填充到对应的框框内

//显示隐藏软键盘 new android.os.Handler().postDelayed(new Runnable() { @Override public void run() { mEditText.setFocusable(true); mEditText.setFocusableInTouchMode(true); mEditText.requestFocus(); InputMethodManager imm = (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE); imm.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAYS); } }, 500);

不会走edittext的textwatcher监听器 虽有数据将会集中到第一个框

加上粘贴功能就更完美了