public static int retrieveNavigationViewStyle ( Context context , int styleResId ) { TypedValue outValue = resolveAttributeFromId ( context , styleResId ) ; return outValue . resourceId ; }
Looks are current theme and retrieves the style for the given resId set in the theme .