根据ID从主题中获取值

    xiaoxiao2021-08-15  173

    根据ID从主题中获取值

    int[] attrs=new int[]{id1,di2,...idn} TypedArray ta = context.getTheme().obtainStyledAttributes(attrs); //TypedArray ta = context.obtainStyledAttributes(attrs); ta.getColor(i, 0);//0<=i<n ta.recycle();
    转载请注明原文地址: https://ju.6miu.com/read-676336.html

    最新回复(0)