1 package com.weather.information.fragment.map;
3 import android.os.Bundle;
4 import android.support.v4.app.Fragment;
5 import android.view.LayoutInflater;
6 import android.view.View;
7 import android.view.ViewGroup;
9 import com.weather.information.R;
11 public class MapButtonsFragment extends Fragment {
14 public View onCreateView(final LayoutInflater inflater, final ViewGroup container,
15 final Bundle savedInstanceState) {
17 // Inflate the layout for this fragment
18 return inflater.inflate(R.layout.weather_map_buttons, container, false);
22 * This method will only be called once when the retained
23 * Fragment is first created.
26 public void onCreate(Bundle savedInstanceState) {
27 super.onCreate(savedInstanceState);
29 // Retain this fragment across configuration changes.
30 this.setRetainInstance(true);