Reputation: 1117
Is it possible to use showAsDropDown
for PopupWindows
and make them slide open in the top-right direction?
Upvotes: 4
Views: 9931
Reputation: 2928
yes it's possible. You can try this
mWindow.showAtLocation(mRootView, Gravity.TOP|Gravity.RIGHT, 0, distanceFromTop);
Upvotes: 11