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

Commit cf56a0c1 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix ActionBar HomeView up button layout params"

parents 219dfa4d 34c829e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1370,6 +1370,7 @@ public class ActionBarView extends AbsActionBarView {
            int upOffset = 0;
            if (mUpView.getVisibility() != GONE) {
                final LayoutParams upLp = (LayoutParams) mUpView.getLayoutParams();
                upLp.onResolveLayoutDirection(layoutDirection);
                final int upHeight = mUpView.getMeasuredHeight();
                final int upWidth = mUpView.getMeasuredWidth();
                upOffset = upLp.leftMargin + upWidth + upLp.rightMargin;