diff --git a/packages/SystemUI/res/values-hdpi/dimens.xml b/packages/SystemUI/res/values-hdpi/dimens.xml deleted file mode 100644 index 7cd318cc5cbed..0000000000000 --- a/packages/SystemUI/res/values-hdpi/dimens.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - 99px - - - 4px - diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 531f154af19ae..6c29c6e7c179c 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -72,7 +72,7 @@ 0dp - 4dp + 2dp diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index 8ea08c738692b..028fcbee7ac0f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java @@ -436,6 +436,8 @@ public abstract class BaseStatusBar extends SystemUI implements } protected boolean inflateViews(NotificationData.Entry entry, ViewGroup parent) { + int rowHeight = + mContext.getResources().getDimensionPixelSize(R.dimen.notification_height); int minHeight = mContext.getResources().getDimensionPixelSize(R.dimen.notification_min_height); int maxHeight = @@ -462,7 +464,7 @@ public abstract class BaseStatusBar extends SystemUI implements lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; expandable = Boolean.TRUE; } else { - lp.height = minHeight; + lp.height = rowHeight; } row.setLayoutParams(lp); row.setTag(R.id.expandable_tag, expandable);