diff options
author | Jason Monk <jmonk@google.com> | 2015-01-22 10:39:37 -0500 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-01-22 10:40:54 -0500 |
commit | 6ece24e10621e46d3ea49d3361ec10f6792ffb86 (patch) | |
tree | 8326a9e8d7039ecf465ad990b2426a322cd63eb5 /packages/SystemUI/src/com/android/systemui/qs | |
parent | a27523e3e0fd6c6cab18255151f2f9ec9a72f3d6 (diff) | |
download | frameworks_base-6ece24e10621e46d3ea49d3361ec10f6792ffb86.zip frameworks_base-6ece24e10621e46d3ea49d3361ec10f6792ffb86.tar.gz frameworks_base-6ece24e10621e46d3ea49d3361ec10f6792ffb86.tar.bz2 |
QS: Fix second line in dual tiles
QSDualTileLabel is no longer a FrameLayout (now a LinearLayout),
so it does not need the top padding based on the caret size
anymore.
Bug: 18725348
Change-Id: Ibd3aaa20e7cdb35ba585cc5c8981c64efb5c66fe
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java b/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java index a9fdc86..67cfc59 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java @@ -100,9 +100,6 @@ public class QSDualTileLabel extends LinearLayout { mFirstLineCaret.setImageDrawable(d); if (d != null) { final int h = d.getIntrinsicHeight(); - final LayoutParams lp = (LayoutParams) mSecondLine.getLayoutParams(); - lp.topMargin = h * 4 / 5; - mSecondLine.setLayoutParams(lp); mFirstLine.setMinHeight(h); mFirstLine.setPadding(mHorizontalPaddingPx, 0, 0, 0); } |