I need an activity load different fragments depending orientation:
Activity-> (portrait) Fragment Portrait
Activity-> (landscape) Fragment Landscape
this
Create two folder in res with name layout-land or layout-port
res
layout-land
layout-port
Place Portrait xml file in layout-port:
layout-port:
and
Place landscape xml file in layout-land:
layout-land:
Keep that in mind file both file will have same name