Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd5ac276 authored by Paul Soulos's avatar Paul Soulos Committed by Android Git Automerger
Browse files

am e68fc6cb: am 568d5d82: Fixes a bug where extra top padding is added to the...

am e68fc6cb: am 568d5d82: Fixes a bug where extra top padding is added to the top entry during expands

* commit 'e68fc6cb':
  Fixes a bug where extra top padding is added to the top entry during expands
parents 265462a3 e68fc6cb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -357,7 +357,9 @@ public class ExpandingEntryCardView extends CardView {
        if (TextUtils.isEmpty(mTitleTextView.getText()) &&
                mEntriesViewGroup.getChildCount() == 0) {
            entry.setPadding(entry.getPaddingLeft(),
                    entry.getPaddingTop() + getResources().getDimensionPixelSize(
                    getResources().getDimensionPixelSize(
                            R.dimen.expanding_entry_card_item_padding_top) +
                    getResources().getDimensionPixelSize(
                            R.dimen.expanding_entry_card_null_title_top_extra_padding),
                    entry.getPaddingRight(),
                    entry.getPaddingBottom());