Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议 #4

Open
open9527 opened this issue May 3, 2018 · 3 comments
Open

建议 #4

open9527 opened this issue May 3, 2018 · 3 comments

Comments

@open9527
Copy link

open9527 commented May 3, 2018

关于图片位置不能自定义,图片不能写选择器了.

@niniloveyou
Copy link
Owner

niniloveyou commented May 3, 2018

你可以实现下,提交上来,工作太忙,其实实现也很简单 @open9527

@open9527
Copy link
Author

open9527 commented May 3, 2018

@niniloveyou 位置倒是好控制,设置的图片怎么写选择器了?

@niniloveyou
Copy link
Owner

  1. 使用StateListDrawable作为传入参数试下
  2. 如果不行以下方式解决, 实现该方法,在这里处理
    @Override protected void drawableStateChanged() { super.drawableStateChanged(); }

@open9527

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants