version:1.0.1

fix:
update:基本功能完成,修复闪退,更换壁纸未实现
This commit is contained in:
2025-12-04 12:04:58 +08:00
parent a82d7a3744
commit 2ed1a735cf
106 changed files with 4158 additions and 1680 deletions

View File

@@ -72,8 +72,8 @@ public class VerificationCodeView extends RelativeLayout {
//初始化 布局和属性
private void init(Context context, AttributeSet attrs, int defStyleAttr) {
LayoutInflater.from(context).inflate(R.layout.layout_identifying_code, this);
containerEt = (LinearLayout) this.findViewById(R.id.container_et);
et = (PwdEditText) this.findViewById(R.id.et);
containerEt = (LinearLayout) findViewById(R.id.container_et);
et = (PwdEditText) findViewById(R.id.et);
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.VerificationCodeView, defStyleAttr, 0);
mEtNumber = typedArray.getInteger(R.styleable.VerificationCodeView_icv_et_number, 1);
@@ -270,7 +270,7 @@ public class VerificationCodeView extends RelativeLayout {
* @param etNumber
*/
public void setEtNumber(int etNumber) {
this.mEtNumber = etNumber;
mEtNumber = etNumber;
et.removeTextChangedListener(myTextWatcher);
containerEt.removeAllViews();
initUI();
@@ -293,7 +293,7 @@ public class VerificationCodeView extends RelativeLayout {
* @param isPwdMode
*/
public void setPwdMode(boolean isPwdMode) {
this.mEtPwd = isPwdMode;
mEtPwd = isPwdMode;
}