Fix menu drag under toolbar
This commit is contained in:
parent
2bd2839f49
commit
593657475a
1 changed files with 4 additions and 0 deletions
|
@ -193,6 +193,10 @@ public class TrackMenuFragment extends ContextMenuScrollFragment implements Card
|
||||||
return 0.5f;
|
return 0.5f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getMinY() {
|
||||||
|
return getFullScreenTopPosY();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getSupportedMenuStatesPortrait() {
|
public int getSupportedMenuStatesPortrait() {
|
||||||
return MenuState.HEADER_ONLY | MenuState.HALF_SCREEN | MenuState.FULL_SCREEN;
|
return MenuState.HEADER_ONLY | MenuState.HALF_SCREEN | MenuState.FULL_SCREEN;
|
||||||
|
|
Loading…
Reference in a new issue