Add a DashboardContainerFragment to host DashboardSummary.

Eventually the container fragment will host more dashboard-type
fragments. For now it's just DashboardSummary.

Change-Id: I217ad71c2f2bbc4b7247c9dd2c3c2b8c8660d945
This commit is contained in:
Fan Zhang
2016-03-24 13:01:05 -07:00
parent d29d40e822
commit 94df695453
4 changed files with 106 additions and 4 deletions

View File

@@ -16,11 +16,11 @@
package com.android.settings;
import com.android.internal.logging.MetricsLogger;
import android.os.Bundle;
import android.support.v14.preference.PreferenceFragment;
import com.android.internal.logging.MetricsLogger;
/**
* Instrumented fragment that logs visibility state.
*/
@@ -28,6 +28,8 @@ public abstract class InstrumentedFragment extends PreferenceFragment {
// Declare new temporary categories here, starting after this value.
public static final int UNDECLARED = 100000;
public static final int DASHBOARD_CONTAINER = UNDECLARED + 1;
/**
* Declare the view of this category.
*