Instantly share code, notes, and snippets.

Embed
What would you like to do?
package com.example.simplefragmentexample;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class LayOutTwo extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
return inflater.inflate(com.example.simplefragmentexample.R.layout.layout_two, container, false);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment