Merge "Bug 5430909 - Overlay action bar should consume hover events"
This commit is contained in:
@@ -118,6 +118,14 @@ public class ActionBarContainer extends FrameLayout {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onHoverEvent(MotionEvent ev) {
|
||||||
|
super.onHoverEvent(ev);
|
||||||
|
|
||||||
|
// An action bar always eats hover events.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public void setTabContainer(ScrollingTabContainerView tabView) {
|
public void setTabContainer(ScrollingTabContainerView tabView) {
|
||||||
if (mTabContainer != null) {
|
if (mTabContainer != null) {
|
||||||
removeView(mTabContainer);
|
removeView(mTabContainer);
|
||||||
|
|||||||
Reference in New Issue
Block a user