add media activity to main xml