根据ID从主题中获取值
int[] attrs=new int[]{id1,di2,..
.idn}
TypedArray ta = context
.getTheme()
.obtainStyledAttributes(attrs)
//TypedArray ta = context
.obtainStyledAttributes(attrs)
ta
.getColor(i,
0)
ta
.recycle()
转载请注明原文地址: https://ju.6miu.com/read-676336.html