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

Commit 3b1f1bce authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 2852909 - screen density for contextual action bar"

parents 6e738552 dcdefbbf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -76,7 +76,8 @@ public class ActionBarContextView extends ViewGroup {
                com.android.internal.R.styleable.Theme_actionBarCloseContextDrawable);
        mItemMargin = mItemPadding / 2;

        mContentHeight = CONTENT_HEIGHT_DIP;
        mContentHeight =
                (int) (CONTENT_HEIGHT_DIP * getResources().getDisplayMetrics().density + 0.5f);
        a.recycle();
    }