android - setContentView method giving error in FragmentActivity -
i newbie. line this.setcontentview(r.layout.activity_main);
in mainactivity.java giving android.view.inflateexception: binary xml file line #2: error inflating class viewpager error
i doing fragmentactivity tutorial codepuppet link
viewpager tag strange.
viewpager must fill full-package , class name.
<android.support.v4.view.viewpager xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="match_parent" />
Comments
Post a Comment