I have to set reminder in my app. So, Once the reminder time is reached , app has to show one popup window (Even if the app is not running) , just like how WhatsApp shows messages in popup when it is not running
On tapping the button I have to…
I want to show/hide a popupwindow using a expand/collapse animation from this answer.
I was able to use the animation by applying it to the popup view which is a view inside popupwindow. The problem I'm facing now is that when user touches outside…
I use the following codes to create a PopupWindow with dim background by clicking a menu item in Toolbar:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch(item.getItemId()) {
case R.id.btn_1:
Log.i(TAG,…
I am showing the popupWindow in my app showing it using
popupWinow.showAsDropDown(anchor)
It works fine on pre lollipop devices but on android 5 and 5.1 it covers the navigation bar. Tried using setAttachedInDecor but no improvement.
Before marking this as duplicate, I'd like to say that I have gone through SO posts like this, this and this. But I haven't found any solution suitable to me.
I am trying to create a pop-up window using PopupWindow(). I want to design this window…
I have a PopupWindow that displays a WebView on a button press. If setBuiltInZoomControls is set to false, the WebView displays the page as expected. However, if setBuiltInZoomControls is set to true, any interaction with the WebView (Scrolling,…
I have a popupwindow and I have added scrollview as its parent layout. But its not working. If I change the scrollview to a diff layout, its working.. Basically I have multiple layouts ( mix of relative and linear ) and I want it to be scroll-able.…
I created an activity which shows popup window. After the activity is stopped the following message is printed to log:
10-22 13:36:05.539: E/WindowManager(14865): android.view.WindowLeaked: Activity qnd.papaya.counter.gui.payment.PaymentActivity has…
My Android app has a game map with markers on it. When the user taps a marker, I'm displaying a PopupWindow aligned with the map marker (similar to Google Maps). The problem I'm having is if a marker is close to the top of the screen, the…
i have a EditText in a PopupWindow, when the PopupWindow comes up cursor in EditText is visble but i cannot edit its text.
my codes:
popupwindolayout.xml:
I'm using pop-window to show some text-view while clicking the edit-text . but pop-window is not showing at particular location ,it always showing at left top corner , here is my code ,what is wrong in that
private void showPopup(Context…
I am using a listview inside a popup window and listview shows some dynamic contents. I want to set height of the listview, based on contents but it should not exceed a particular height.Since i couldn't set a maximum height to that listview, I…
I have a popupWindow and it looks the onClick of a view in it not called and some other view takes the touch.
How can I increase the touch priority of a view?
This is how I implemented the onClick of the view. The view is inside a…
I have created a popup in jet pack compose android which is attached with screen bottom and taking inputs.
Using popup() jetpack component.
But as soon as I focus on text field keyboard is opening but it’s behind the popup. I am not sure why…