Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TEACHING-MATERIALS/Week_05_AdapterViews_and_Fragments/MyFragments/app/src/main/java/layout/BlankFragment2.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
30 lines (21 sloc)
685 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package layout; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import com.example.jianhuayang.myfragments.R; | |
/** | |
* A simple {@link Fragment} subclass. | |
*/ | |
public class BlankFragment2 extends Fragment { | |
public BlankFragment2() { | |
// Required empty public constructor | |
} | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, | |
Bundle savedInstanceState) { | |
// Inflate the layout for this fragment | |
return inflater.inflate(R.layout.fragment_blank2, container, false); | |
} | |
} |