| 1 |
package ${packageName}; |
| 2 |
|
| 3 |
import android.<#if appCompat>support.v4.</#if>app.Fragment; |
| 4 |
import android.os.Bundle; |
| 5 |
import android.view.LayoutInflater; |
| 6 |
import android.view.View; |
| 7 |
import android.view.ViewGroup; |
| 8 |
<#if applicationPackage??> |
| 9 |
import ${applicationPackage}.R; |
| 10 |
</#if> |
| 11 |
|
| 12 |
/** |
| 13 |
* A placeholder fragment containing a simple view. |
| 14 |
*/ |
| 15 |
public class ${fragmentClass} extends Fragment { |
| 16 |
|
| 17 |
public ${fragmentClass}() { |
| 18 |
} |
| 19 |
|
| 20 |
@Override |
| 21 |
public View onCreateView(LayoutInflater inflater, ViewGroup container, |
| 22 |
Bundle savedInstanceState) { |
| 23 |
return inflater.inflate(R.layout.${fragmentLayoutName}, container, false); |
| 24 |
} |
| 25 |
} |