java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x10

獲取自定義view屬性的時候  遇到這個問題java int[] arr = new int[] { android.R.attr.layout_width, android.R.attr.layout_height }; TypedArray typedArray = context.obtainStyledAttributes(attrs, arr); typedArray.getDimens
相關文章
相關標籤/搜索