why is the word findViewById
red ? i made a tabbed activity and this is one of the 3 screens that you can switch to.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
View rootView = inflater.inflate(R.layout.thekairi78, container, false);
return rootView;
}