Back to project page ScienceQuiz.
The source code is released under:
GNU General Public License
If you think the Android project ScienceQuiz listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.finger.sciencequiz; /*from w ww. ja va 2 s . c o m*/ import android.support.v7.app.ActionBarActivity; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class AboutActivity extends ActionBarActivity { @Override protected void onCreate (Bundle savedInstanceState) { super.onCreate (savedInstanceState); setContentView (R.layout.activity_about); if (savedInstanceState == null) { getSupportFragmentManager ().beginTransaction () .add (R.id.container, new AboutFragment ()) .commit (); } } /** * A placeholder fragment containing a simple view. */ public static class AboutFragment extends Fragment { public AboutFragment () { } @Override public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate (R.layout.fragment_about, container, false); return rootView; } } }