<com.xwj.adsview.view.AdsView
android:id="@+id/ads_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
adsView = (AdsView) findViewById(R.id.ads_view);
adsView.setFragmentManager(getSupportFragmentManager());