Added loadBitmap for resource IDs