I want to Dismiss the popup window by clicking outside of the popup window or by the back button, but when click on the back button my application exit's, instead of exiting the application I want to close the popup window.
here is my…
Currently , I am programatically creating a popupmenu which displays a list of floors and a title. However, changing the background color of just the title and adding a close button to title is turning out to be a nightmare.
I want to replace this…
I'm using a couple of PopupMenus in my app and they all working as expected
But I would like to have white lines separating the individual items, but I can't find where I'm meant to be setting this. I was hoping I could get to the underlying…
Can I dim the background using a PopupWindow instead of a Dialog? I am asking this because I am using Dialogs but the Dialog doesn't show below the item clicked and with the PopupWindow I already have the popup showing below the item.
My ListView is inside PopupWindow.
When i shown PopupWindow and click on Listview row in device ASUS K00z fonepad worke very well.
But in HTC Z715e is not working (onitem click event not fired)
1.This is my listview item layout
I'm trying to show a PopupWindow from a Fragment, and then add a ComposableView to the Popup contentView, and it crashes because the ViewTreeLifecycleOwner is not found for PopupDecorView$PopupDecorView.
Things I've tried:
Use the PopupWindowCompat…
How do I style my PopupWindow in Android with a white background but still keep the shadow? I am trying to create something like [this][1]:
By default, my PopupWindow has a dark background. So I set the popup window's contents to have a white…
I'm creating a popupWindow but it is not showing on my Fragment when I call it.
Here is my code for the popupWindow:
LayoutInflater layoutInflater =
(LayoutInflater)getActivity()
…