List of usage examples for android.util TypedValue TYPE_INT_COLOR_ARGB8
int TYPE_INT_COLOR_ARGB8
To view the source code for android.util TypedValue TYPE_INT_COLOR_ARGB8.
Click Source Link
From source file:com.nttec.everychan.ui.theme.CustomThemeHelper.java
public static boolean resolveAttribute(int attrId, TypedValue outValue) { SparseIntArray customAttrs = currentAttrs; if (customAttrs == null) return false; int index = customAttrs.indexOfKey(attrId); if (index < 0) return false; outValue.type = TypedValue.TYPE_INT_COLOR_ARGB8; outValue.data = customAttrs.valueAt(index); return true;/*from w w w. j a v a 2 s . com*/ }