Code example for ActionBarActivity

0
 
/** 
 * @author sre 
 *  
 */ 
public class SimpleFragmentActivity extends ActionBarActivity implements MultiPaneHandler, 
		ActionDialog.DialogActionListener, MultiChoiceDialog.MultiChoiceDialogListener { 
	public static final int MENU_HOME = 89283794;
 
	private Fragment mFragment;
	private ActivityCallbackHandler mCallBackHandler;
 
	protected boolean mThemeSet = false;
 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		if (!mThemeSet)
			DreamDroid.setTheme(this);
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);