templates/eclipse/activities/BlankActivityWithFragment/root/src/app_package/include_fragment.java.ftl
raw| 1 | /** |
| 2 | * A placeholder fragment containing a simple view. |
| 3 | */ |
| 4 | public static class PlaceholderFragment extends Fragment { |
| 5 | |
| 6 | public PlaceholderFragment() { |
| 7 | } |
| 8 | |
| 9 | @Override |
| 10 | public View onCreateView(LayoutInflater inflater, ViewGroup container, |
| 11 | Bundle savedInstanceState) { |
| 12 | View rootView = inflater.inflate(R.layout.${fragmentLayoutName}, container, false); |
| 13 | return rootView; |
| 14 | } |
| 15 | } |