Code example for SlidingDrawer

Methods: animateClose, isOpened

0
		// save as preferred curriculum to open automatically later 
		Utils.setSetting(this, PREF_CURRICULUM_SETTING_KEY, file.getPath());
 
		webView.loadUrl("file://" + file.getPath());
 
		if (slider.isOpened()) {
			slider.animateClose();
		} 
	} 
 
	/** Initializes the curricula options available in the list. */ 
	private void initOptions() { 
		options = new Hashtable<String, String>();
		options.put(
				getString(R.string.informatics_bachelor),
				"http://www.in.tum.de/fuer-studierende-der-tum/bachelor-studiengaenge/informatik/studienplan/studienbeginn-ab-ws-20072008.html"); 
		options.put(
				getString(R.string.business_informatics_bachelor_0809),
				"http://www.in.tum.de/fuer-studierende-der-tum/bachelor-studiengaenge/wirtschaftsinformatik/studienplan/studienbeginn-ab-ws-20112012.html"); 
		options.put(
				getString(R.string.business_informatics_bachelor_1112),