"View Info" xml

Is there a xml file that controls the format of the “View Info” option from the gallery view ?

Yes, “metadata_view_info.xml”.