From caceba8b9f49733891e5458caf3e6ea2de3a1574 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Tue, 16 Jun 2015 16:01:42 -0400 Subject: Allow QS detail items to get bigger when text is large Bug: 19795867 Change-Id: I0fd927c63a363dcfcbb6a99fa9c1dac5c7019d60 --- packages/SystemUI/res/layout/qs_detail_item.xml | 3 ++- packages/SystemUI/res/values/dimens.xml | 1 - packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/res/layout/qs_detail_item.xml b/packages/SystemUI/res/layout/qs_detail_item.xml index 0ba3ba3..a519d3f 100644 --- a/packages/SystemUI/res/layout/qs_detail_item.xml +++ b/packages/SystemUI/res/layout/qs_detail_item.xml @@ -16,7 +16,8 @@ --> 4dp 8dp 48dp - 72dp 6dp 20sp 14sp diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java b/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java index 2a44e56..25b9105 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSDetailItems.java @@ -193,8 +193,6 @@ public class QSDetailItems extends FrameLayout { title.setMaxLines(twoLines ? 1 : 2); summary.setVisibility(twoLines ? VISIBLE : GONE); summary.setText(twoLines ? item.line2 : null); - view.setMinimumHeight(mContext.getResources() .getDimensionPixelSize( - twoLines ? R.dimen.qs_detail_item_height_twoline : R.dimen.qs_detail_item_height)); view.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { -- cgit v1.1