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

Commit 14a97383 authored by George Mount's avatar George Mount
Browse files

Fix ActionBar layout bug when INVISIBLE.

ActionBar did not layout properly when INVISIBLE, but worked
when VISIBLE or GONE.

Change-Id: I30ca85377f3516c79174a35b65648d4ca68e927a
parent 38900b15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ public class ActionBarOverlayLayout extends ViewGroup {
                    topInset += mActionBarHeight;
                }
            }
        } else if (mActionBarTop.getVisibility() == VISIBLE) {
        } else if (mActionBarTop.getVisibility() != GONE) {
            // This is the space needed on top of the window for all of the action bar
            // and tabs.
            topInset = mActionBarTop.getMeasuredHeight();