Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop down alignment problem (In continuation to issue #32) #43

Open
royhenengel opened this issue Dec 23, 2016 · 0 comments
Open

Drop down alignment problem (In continuation to issue #32) #43

royhenengel opened this issue Dec 23, 2016 · 0 comments

Comments

@royhenengel
Copy link

As mentioned in the title, I this issue has been mentioned in issue #32 which was closed, but suggestions there didn't solve the issue for me.
trying the solution suggested in the last comment didn't solve it.

My code is:

DroppyMenuPopup.Builder droppyBuilder =
new DroppyMenuPopup.Builder(getActivity(), tab.getCustomView());

droppyBuilder.addMenuItem(new DroppyMenuItem("תאריך דיווח"))
.addSeparator()
.setOnClick(new DroppyClickCallbackInterface() {...}
.addMenuItem(new DroppyMenuItem("קרוב אליי"))
.setOnClick(new DroppyClickCallbackInterface() {...}
.setYOffset(50)
.setXOffset(-110);

DroppyMenuPopup droppyMenu = droppyBuilder.build();
droppyMenu.show();

As you can see in the image, setXOffset works fine (used it to move the popup window left)
from:
2016-12-23_08-56-13

to:
2016-12-23_08-50-20

But the setYOffset doesn't work add all.
Minimum SDK = 17
Target SDK = 24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant