first version of the layout activity_scan