package org.edx.mobile.view.dialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import org.edx.mobile.R; public class ProgressDialogFragment extends DialogFragment { public static ProgressDialogFragment newInstance() { ProgressDialogFragment frag = new ProgressDialogFragment(); return frag; } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(STYLE_NO_FRAME, android.R.style.Theme_Translucent); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.fragment_dialog_progress, container, false); } }