We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
drawable_pressed_radius="@{25}" drawable_pressed_solidColor="@{0xffff0000}" drawable_radius="@{25}" drawable_solidColor="@{0xffdadada}" drawable_enabled_radius="@{25}" drawable_enabled_solidColor="@{0xff007aff}"
The text was updated successfully, but these errors were encountered:
if (pressedDrawable != null) { listDrawable.addState(new int[]{android.R.attr.state_pressed}, pressedDrawable); } if (enabledDrawable != null) { listDrawable.addState(new int[]{android.R.attr.state_enabled}, enabledDrawable); } 源码里,将pressedDrawable先于enabledDrawable放入,可以生效
Sorry, something went wrong.
91ce50c
验证了下确实是,谢谢反馈
No branches or pull requests
drawable_pressed_radius="@{25}"
drawable_pressed_solidColor="@{0xffff0000}"
drawable_radius="@{25}"
drawable_solidColor="@{0xffdadada}"
drawable_enabled_radius="@{25}"
drawable_enabled_solidColor="@{0xff007aff}"
The text was updated successfully, but these errors were encountered: