Action bar has dissappeared
<p>I am new to android development and seem to be stuck at the moment. Whenever I compile and test my app on a device I getting a fatal error message:</p>

<pre><code>=1: thread exiting with uncaught exception (group=0x4137d930)
12-10 22:07:28.423: E/AndroidRuntime(20961): FATAL EXCEPTION: main
12-10 22:07:28.423: E/AndroidRuntime(20961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hyperlocal.tradeit/com.hyperlocal.tradeit.MainActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.support.v4.view.ViewPager
</code></pre>

<p>then app stops running after the splash screen.</p>

<p>The action bar doesn't even appear in the graphical layout any more and the IDE cannot find any errors :/</p>

<p><a href="http://pastebin.com/2Fh9UVwf" rel="nofollow">Here is my code</a></p>

<p>Any help would be appreciated, thanks!</p>
