Refactor settings top level activities to use fragments.

Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
This commit is contained in:
Amith Yamasani
2010-08-18 13:59:28 -07:00
parent 3a9cf03636
commit d79934731c
31 changed files with 1088 additions and 338 deletions

View File

@@ -21,7 +21,7 @@ import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
public class DateTimeSettingsSetupWizard extends DateTimeSettings implements OnClickListener {
public class DateTimeSettingsSetupWizard extends DateTimeSettingsActivity implements OnClickListener {
private View mNextButton;
@Override