android-popupwindow Questions

2

This piece of code works seems to work in android api 16 - 22 but does not work in api 23. I'm simply trying to display a popupwindow with options in it and dim the background below the popupwindow...

2

Solved

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()) ...
Biparietal asked 18/12, 2015 at 8:15

2

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

I am showing PopupWindow on button click from top-left corner of the screen. But the problem is, when I am opening it, it will shown very fast, that means no animation occurs, but when I am closing...
Bema asked 20/8, 2014 at 7:8

1

Solved

this is how it looks like on android L : where as on jelly bean it looks like : here is layout xml file: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http:/...

3

Solved

Hello i have to create a PopUp Menu and i know how to do that. Here is my code to create default PopUp Menu .. popup_menu.xml <menu xmlns:android="http://schemas.android.com/apk/res/android"...
Homoousian asked 4/12, 2014 at 10:23

2

Solved

I have a PopupWindow that is called from a Fragment and everything works except my Spinner. When I click in my Spinner it crashes and gives the error: "android.view.WindowManager$BadTokenException...

1

I've created my own android drop down list (spinner). Its custom made by using a popupWindow(...). Now i would like to style it accordingly. I'd like to apply the same styles that a spinner drop do...
Diversified asked 27/5, 2014 at 2:27

2

Solved

I am having an issue with grabbing my Buttons and other elements from within my PopupWindow, using the debugger it just report back as null? private void initiatePopupWindow() { try { // W...
Porbeagle asked 14/3, 2014 at 5:35

6

Solved

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 ...
Savoirvivre asked 20/2, 2014 at 5:14

1

Solved

I am trying to make something like a pop-up window, that would appear when clicked on a view in a fragment. I want this pop-up window or whatever, to not make the fragment dark, like a Dialog Fragm...
Cinchonism asked 27/8, 2013 at 9:41

3

Solved

I looked online and was not able to find a working example of the PopupWindow class. The code examples I found online either compile but do not work, or are using methods which have since been remo...
Mackey asked 28/12, 2009 at 3:37

© 2022 - 2024 — McMap. All rights reserved.