Skip to content

自定义背景颜色无效 #7

@AinialJing

Description

@AinialJing
   修改了源码逻辑,加入焦点改变的监听事件,不知是否是博主当初考虑的方法,如果有更好的,请博主赐教!谢谢
    OnFocusChangeListener focusChangeListener=new OnFocusChangeListener() {
        @Override
        public void onFocusChange(View v, boolean hasFocus) {
            setBg((EditText) v,hasFocus);
        }
    };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions