Apps tabs align to title on 2-pane settings.

Pad the lists in Apps screen.
Pad the color bar to align with the list.

Bug: 6449489

Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
This commit is contained in:
Amith Yamasani
2012-05-09 09:43:33 -07:00
parent fbffd0c982
commit f0b05de3e0
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

@@ -738,6 +738,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;