Skip to content

自定义背景颜色无效 #7

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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