Back to project page ScreamDroid.
The source code is released under:
GNU General Public License
If you think the Android project ScreamDroid 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 io.lxl.screamdroid; // w w w . j ava 2s.co m import android.os.Bundle; import android.preference.PreferenceActivity; /** * Settings screen * Created by pschmitt on 11/17/13. */ public class SettingsActivity extends PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Display the fragment as the main content. getFragmentManager().beginTransaction() .replace(android.R.id.content, new SettingsFragment()) .commit(); } }