Bottom tabs not filling the screen

view story

http://stackoverflow.com – I'm developing an application that requires bottom tabs. I've got the tabs in their place but there's an empty space between the tabs and the bottom,left and right of the screen. I downloaded a sample code which looks exactly how I want my tabs but the spaces keep on appearing. My Application: http://postimg.org/image/6ft0v2qyn/ How I want my tabs to look: http://postimg.org/image/az9l93ymx/ Sorry I cant post images directly because I don't have enough reputation. XML Layout: <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http:// (HowTos)