title: trying to add title to fragment
body: <p>Please pardon my ignorance, I'm a total newbie to programming. I'm trying to add a title at the top of the screen to a horizontal view swiping section of my android app.  I think I'm supposed to put:</p>
  
  <pre><code> setTitle("title goes here");
  </code></pre>
  
  <p>somewhere in the code below but I'm not sure how/where?</p>
  
  <p>here is the code for the first fragment:</p>
  
  <pre><code> import com.viewpagerindicator.TitlePageIndicator;
   import android.os.Bundle;
   import android.support.v4.app.Fragment;
   import android.support.v4.view.ViewPager;
   import android.view.LayoutInflater;
   import android.view.View;
   import android.view.ViewGroup;
  
  
   public class Fragment1 extends Fragment{
  
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle   savedInstanceState){
  
      return inflater.inflate(R.layout.fragment_1, null);
  
  
  }
  
  
   }
  </code></pre>