set appearance id in drawable constructor