Please check what I have tried so far before down voting for duplicate.
I am trying to dismiss the popup window on outside touch. I have tried every solution available but it is not working.
1st try :
pwindo.setBackgroundDrawable(new…
On devices with Android >= 4.4.2 I've faced a strange behavior of popupWindows.
If more than 1 window is opened, and you switch to another application, then after you resume first application, all popupWindows will be shown in the reversed order (I…
I am trying to print a dialog through a static context on View v. I am running into the error "cannot be referenced from static context." I am also not sure how to bring View v to the function. Thank you for your help.
public class QuizActivity…
I'm not up to date with Android solutions and I wonder what is the most current way to display popup/modal/alert dialog in application?
2 years ago I used to use alert (or fragment) dialogs with custom view. I heard that nowadays this is possible by…
I have founded many solutions for this problem but none of them have worked for me. I want to show a PopupWindow inside a Fragment. This is my code
LayoutInflater layoutInflater = LayoutInflater.from(getActivity());
View popupView =…
I am trying to create popup window on home screen when an floating image is clicked (using windowmanager).
so while using layoutinflater , I am not able to set a viewgroup in the second argument as findviewbyId is not recognised. so I kept null.…
I want to use Android SearchView but, I have a limitation that I can not use Cursor Adapter.
What are the other adapter one can use with SearchView?
My current fallback is to use ListViewPopUp but it has it's own issue of interaction with menu and…
I have this code for my Emojiicons which I want to show if the user clicks on the emoji logo. I cant make that toggle between keyboard so as an alternative I am doing this.
//R.layout.popup_item
Background
I'm making an activity that has 2 fragments.
the second fragment shows a full screen image, which also hides the status bar (AKA notification bar) using:
final View decorView = getActivity().getWindow().getDecorView();
int…
I've PopUpMenu with support library v7 in my application which works as expected. But styling PopUpMenu is not working with styles of actionbarcompat.
styles.xml in values as follows :