public class LayoutOne extends Fragment { | |
public static Fragment newInstance(Context context) { | |
LayoutOne f = new LayoutOne(); | |
return f; | |
} | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) { | |
ViewGroup root = (ViewGroup) inflater.inflate(R.layout.layout_one, null); | |
return root; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment