@Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        mContentView = inflater.inflate(R.layout.view_content, null);
        return inflater.inflate(R.layout.fragment_custom_progress, container, false);
    }
Sample implementation of {@link com.devspark.progressfragment.SherlockProgressFragment}.

@author Evgeny Shishkin
sherlockprogressfragment-sample/src/com/devspark/progressfragment/sample/sherlock/CustomLayoutProgressFragment.java