=+6. Add the following code to Fragment1.java: package com.jfdimarzio.fragments; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View;

Question:

=+6. Add the following code to Fragment1.java:

package com.jfdimarzio.fragments;

import android.app.Fragment;

import android.os.Bundle;

import android.view.LayoutInflater;

import android.view.View;

import android.view.ViewGroup;

public class Fragment1 extends Fragment {

@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

//---Inflate the layout for this fragment---

return inflater.inflate(

R.layout.fragment1, container, false);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: