Refine Take Photo xml