VerificationCodeView icon indicating copy to clipboard operation
VerificationCodeView copied to clipboard

有bug,文本大小设置有问题

Open yangkile opened this issue 4 years ago • 0 comments

mEtTextSize = typedArray.getDimensionPixelSize(R.styleable.vericationCodeView_vcv_et_text_size, 16); 这个取出来是px

editText.setTextSize(mEtTextSize); 这里面需要是dp

setTextSize(TypedValue.COMPLEX_UNIT_PX,mEtTextSize) 才行

yangkile avatar Aug 22 '20 08:08 yangkile