summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/dashboard/DashboardSummary.java
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-06-19 20:16:20 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-06-23 13:23:47 -0700
commit47a25e76409aec1ae29b983779addf39722377f6 (patch)
tree82deb74d751e703b1733962ef7bfcf9e1e7685a8 /src/com/android/settings/dashboard/DashboardSummary.java
parent8b2655cfbb77ef696ad4cec0f8861889a2015917 (diff)
downloadpackages_apps_Settings-47a25e76409aec1ae29b983779addf39722377f6.zip
packages_apps_Settings-47a25e76409aec1ae29b983779addf39722377f6.tar.gz
packages_apps_Settings-47a25e76409aec1ae29b983779addf39722377f6.tar.bz2
Update Dashboard layout again
- follow UX spec - update also the Search Panels (suggestions / results) to follow the same specs See bug: #15384992 Setting Dashboard - padding updates Change-Id: I3d27a3b3d9779644f8ea123990a0c7bed8d4ba74
Diffstat (limited to 'src/com/android/settings/dashboard/DashboardSummary.java')
-rw-r--r--src/com/android/settings/dashboard/DashboardSummary.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/settings/dashboard/DashboardSummary.java b/src/com/android/settings/dashboard/DashboardSummary.java
index 4aee7be..ece32f6 100644
--- a/src/com/android/settings/dashboard/DashboardSummary.java
+++ b/src/com/android/settings/dashboard/DashboardSummary.java
@@ -44,7 +44,6 @@ public class DashboardSummary extends Fragment implements OnAccountsUpdateListen
private static final String LOG_TAG = "DashboardSummary";
private LayoutInflater mLayoutInflater;
- private ViewGroup mContainer;
private ViewGroup mDashboard;
private AuthenticatorHelper mAuthHelper;
private boolean mAccountListenerAdded;
@@ -69,7 +68,6 @@ public class DashboardSummary extends Fragment implements OnAccountsUpdateListen
final Context context = getActivity();
mLayoutInflater = inflater;
- mContainer = container;
final View rootView = inflater.inflate(R.layout.dashboard, container, false);
mDashboard = (ViewGroup) rootView.findViewById(R.id.dashboard_container);
@@ -98,7 +96,7 @@ public class DashboardSummary extends Fragment implements OnAccountsUpdateListen
for (int n = 0; n < count; n++) {
DashboardCategory category = categories.get(n);
- View categoryView = mLayoutInflater.inflate(R.layout.dashboard_category, mContainer,
+ View categoryView = mLayoutInflater.inflate(R.layout.dashboard_category, mDashboard,
false);
TextView categoryLabel = (TextView) categoryView.findViewById(R.id.category_title);