Created a fragment and changed the main activity to load this by layout
xml (static initialization).
Adding Fragment Dynamically