Back to project page android-for-dummies-v3.
The source code is released under:
Apache License
If you think the Android project android-for-dummies-v3 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.dummies.tasks.activity; /*w w w. j a va 2s .c o m*/ import android.app.Activity; import android.os.Bundle; import com.dummies.tasks.fragment.PreferencesFragment; /** * An activity for displaying and editing preferences. * Uses a TaskPreferencesFragment to do all of the dirty work. */ public class PreferencesActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getFragmentManager().beginTransaction().replace( android.R.id.content, new PreferencesFragment()).commit(); } }