Merge "Apps tabs align to title on 2-pane settings." into jb-dev

This commit is contained in:
Amith Yamasani
2012-05-09 13:30:48 -07:00
committed by Android (Google) Code Review
7 changed files with 25 additions and 38 deletions

View File

@@ -407,7 +407,7 @@ public class Utils {
final int paddingBottom = res.getDimensionPixelSize(
com.android.internal.R.dimen.preference_fragment_padding_bottom);
final int effectivePaddingSide = ignoreSidePadding ? 0 : paddingBottom;
final int effectivePaddingSide = ignoreSidePadding ? 0 : paddingSide;
list.setPadding(effectivePaddingSide, 0, effectivePaddingSide, paddingBottom);
}
}

View File

@@ -737,6 +737,9 @@ public class ManageApplications extends Fragment implements
} else if (menuId == SHOW_BACKGROUND_PROCESSES) {
mShowBackground = true;
mRunningProcessesView.mAdapter.setShowBackground(true);
} else {
// Handle the home button
return false;
}
updateOptionsMenu();
return true;