自定義View 使用 StateListDrawable xml selector

只須要重寫View的drawableStateChanged()便可 示例:java @Override protected void drawableStateChanged() { final int[] state = getDrawableState(); boolean changed = false; if (mDrawable
相關文章
相關標籤/搜索