Merge "Fix Switches padding for Settings app"

This commit is contained in:
Fabrice Di Meglio
2013-01-17 16:33:25 +00:00
committed by Android (Google) Code Review
10 changed files with 11 additions and 11 deletions

View File

@@ -540,7 +540,7 @@ public class InstalledAppDetails extends Fragment
// Utility method to set applicaiton label and icon.
private void setAppLabelAndIcon(PackageInfo pkgInfo) {
final View appSnippet = mRootView.findViewById(R.id.app_snippet);
appSnippet.setPadding(0, appSnippet.getPaddingTop(), 0, appSnippet.getPaddingBottom());
appSnippet.setPaddingRelative(0, appSnippet.getPaddingTop(), 0, appSnippet.getPaddingBottom());
ImageView icon = (ImageView) appSnippet.findViewById(R.id.app_icon);
mState.ensureIcon(mAppEntry);