Back to project page FragmentTutorial.
The source code is released under:
Apache License
If you think the Android project FragmentTutorial 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.yanlu.android.fragment; //w w w .j a v a2s . c o m import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.View; public class SettingsActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_settings); } public void onResult(View view) { setResult(RESULT_OK); finish(); } }