create the editor activity and layout