Questions tagged [android-popupwindow]

The popupWindow is an AndroidView Container displayed on top of the current activity to show any view.

JavaDoc: http://developer.android.com/reference/android/widget/PopupWindow.html

362 questions
0
votes
2 answers

Close PopUpWindow in ViewPager after pressing backbutton

I Want to close popupWindow after pressing backbutton. The popUp Window is in View Pager which is in Activity. The back button doesnt react for any touch.(when the popUp is close works fine) I set the BackgroundDrawable and OutsideTouchable and…
0
votes
1 answer

Android PopupWindow did not Show Expandable ListView?

Popup window did not show the Expandable ListView,I have used Hasmap array list for parsing JSON API. Perfectly i get Values and assigned to ArrayList.Please guide me to resolve this issue. why PopWindow did not show the ExpandableListView.Thanks in…
0
votes
1 answer

How to dispatch touchevent from popupwindow to its child listview

I'm using a PopupWindow to show some suggestions when user type on an edittext. inside the popup window, i have a listview which shows the suggestions. i couldn’t use ListpopupWindow because it was covering the keyboard thus the user can't be able…
Edijae Crusar
  • 3,473
  • 3
  • 37
  • 74
0
votes
0 answers

Google Play Store Overflow Menu

I am really confused with what is this view. The one that I am referring to is the pop window? or the spinner? that is showing whenever we click the overflow icon in the items in Google Play Store. Anyone who knows what is that view being used? Is…
0
votes
1 answer

Custom Style for Popup Menu

I am stuck with the problem on how to make a custom style for Popup Menu. All I got is this kind of Popup Menu: This is running on an Marshmallow emulator. I don't have a custom style for this because I don't really know how to do it. And here is…
Chris Palma
  • 223
  • 1
  • 2
  • 13
0
votes
1 answer

The override method onBackPressed doesn't work when showing popup window

I want to handle the back press event when showing a popup window in android. I do like this. In the fragment: @Override public boolean onBackPressed() { if (backPressStrategy == BACK_PRESS_PLAN_A) { if (guideDialog != null) { …
Zijian
  • 207
  • 1
  • 9
0
votes
1 answer

Any libraries that can create a pop up window with a shadow?

I'm trying to look for some kind of library or example code that creates a pop up window that has two buttons "Get current location" and "Google Maps". I would also want the window to appear floating for nice synthetic look. I don't need code to…
TheQ
  • 1,949
  • 10
  • 38
  • 63
0
votes
1 answer

Soft keyboard hides EditText in inflated view

I'm trying to make a popup window where you can read and write some comments (like on facebook app). It works well but When I select the Edit text the soft keyboard hides the edit text so I cannot see what i'm writing.I tried the solution that I…
0
votes
1 answer

Android Popup Window with Variable Text

So having a bit of trouble with a popup box, new to android and not sure how to go about this. I would like to have a popup that displays specific text based on a public variable, so when the button is clicked, the variable is checked, and depending…
Abstract3000
  • 79
  • 1
  • 4
  • 15
0
votes
1 answer

FrameLayout$LayoutParams cannot be cast to WindowManager$LayoutParams

I am facing the similar issue explained in this link below. But the solution is not posted . Please help with the solution . Android M ClassCastException: FrameLayout$LayoutParams cannot be cast to WindowManager$LayoutParams
jad
  • 493
  • 3
  • 16
0
votes
2 answers

Unable to click on the items of PopupWindow

I am implementing the following screen: Here you can see i have a popup containing different icons like Gallery,Photos etc. The layout for popup is :
Deepak Rattan
  • 1,279
  • 7
  • 21
  • 47
0
votes
1 answer

Remove a row of ListView attached with AsyncTaskLoader

I have implemented a ListView with ListFragment which is attached with a AsyncTaskLoader. The data is populated from database. Each row has a menu button for PopUp which further has 2 options (Edit & Delete). What I want is, when any of the option…
Shahzeb
  • 3,696
  • 4
  • 28
  • 47
0
votes
3 answers

PopupMenu - custom theme

I'd like to create a custom PopupMenu (be able to change text color, background and icon). Ideal behavior would be like on this gfy (taken from Solid Explorer): https://gfycat.com/JealousMeanHorsefly Do you think it's a PopupMenu or…
rafakob
  • 3,946
  • 3
  • 26
  • 36
0
votes
2 answers

Unable to handle Popup Window in android

I am trying to implement the following screen.Here on clicking attachment icon ,popup window is displayed : I am trying to implement the screen using the below mentioned code : 1.popupwindow_attachment.xml
Deepak Rattan
  • 1,279
  • 7
  • 21
  • 47
0
votes
2 answers

Don't show transparent screen on background of custom Dialog in Android

I don't want to show transparent background when a dialog opens. Can you please suggest an effective way to do that?