From 47a25e76409aec1ae29b983779addf39722377f6 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Thu, 19 Jun 2014 20:16:20 -0700 Subject: 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 --- src/com/android/settings/dashboard/DashboardSummary.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/com/android/settings/dashboard/DashboardSummary.java') 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); -- cgit v1.1