How To Open A Popup At The Bottom, Above Another View In Android?
In my Android App I have a view and on it a pop-up is opened at certain conditions. How can I set it's position to be at the bottom? (anyhow above the other view). Today's code jus
Solution 1:
Assuming you are talking about using PopupWindow, you can use showAtLocation(View v, int gravity, int x, int y)
to get it in the desired spot with respect to whichever View
you want.
You can play with the params
to get the exact result you need.
Post a Comment for "How To Open A Popup At The Bottom, Above Another View In Android?"