private StateListDrawable getDrawableSeletor(Drawable normal,
Drawable press) {
StateListDrawable bg = new StateListDrawable();
if (null != normal) {
bg.addState(new int[] { android.R.attr.state_pressed }, press);
}
if (null != press) {
bg.addState(new int[] { android.R.attr.state_enabled }, normal);
}
return bg;
}
SafetyKeyboard.java 文件源码
java
阅读 40
收藏 0
点赞 0
评论 0
项目:PWEditText-SafeKeyboard
作者:
评论列表
文章目录