QS: Fix expanding on closing detail
am: dfb851c6cf
Change-Id: I6467a5456782360276157ed9e776837411806d63
This commit is contained in:
@@ -146,7 +146,9 @@ public class QSContainer extends FrameLayout {
|
||||
return getHeight();
|
||||
}
|
||||
if (mQSDetail.isClosingDetail()) {
|
||||
return mQSPanel.getGridHeight() + mHeader.getCollapsedHeight() + getPaddingBottom();
|
||||
int panelHeight = ((LayoutParams) mQSPanel.getLayoutParams()).topMargin
|
||||
+ mQSPanel.getMeasuredHeight();
|
||||
return panelHeight + getPaddingBottom();
|
||||
} else {
|
||||
return getMeasuredHeight();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user