finished code layout main_activity and element XML