Get the Code Here : http://goo.gl/k7WjNH
In this few parts of my Android tutorial I'll focus on a Android Fragment Tutorial. I'll start off slow here by showing you how to switch fragments based on screen orientation, which is very commonly used.
I'll specifically cover the basics of fragments, layout fragments, FragmentManager, FragmentTransaction, committing fragment replacements, LayoutInflator, Configuration and more.