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
相关文章
相关标签/搜索