Create detail_main.xml

work changes - untested