I want to set PopupWindow same as screen. Need to set PopupWindow arrow and message more button to opposite same direction.
LayoutInflater inflater = (LayoutInflater)
getSystemService(LAYOUT_INFLATER_SERVICE);
View customView =…
I am trying to show a popup window at the specific view which is in recycler view but it is not showing at that position.
This is what I did to show a transparent popup window:
private void showPopup(View view) {
LayoutInflater inflater =…
I'm linking a PopupWindow to a TextView placed inside a ScrollView but when the view automatically scrolls to show the virtual keyboard the PopupWindow completely overlap the text box. If I manually scroll the view with the keyboard shown the…
I'm not sure if x and y parameters should be pixels of DensityIndependentPixels.
I've tried to get this information from Android's documentation but there's no answer:
After digging deeper I've only got more questions:
The…
I am displaying JSON data inside RecyclerView , I added long press action on RecyclerView item , which display PopupWindow. I want to display that PopupWindow on Top of each Recyclerview item when i long click on it.
but PopupWindow only display on…
I am facing a weird thing using Glide library( v4.2.0 with compile SDK 26) along with christbanes Photoview library. I'm able to load, display some images( size <300 Kb ) and able to perform zooming gestures with the Photoview library but not on all…
Currently:
I'm implementing click events in my Adapter inside of onBindViewHolder, but I have noticed that the adapter positions get messed up when doing this. I done some research and found this, where he state:
As for why it is better in the…
I'm developing a kind of contact provider for android users. The main function is when someone calls to the phone (locked or non locked) it appears a popup window with some info about who is calling. The issue is that with android's version below…
How to set an translate animation to a PopupWindow while it's location changed.
I have search many articles but almost is about the show animation and dismiss animation.I used PopupWindow.update() but it just work without animation.How can i do…
I want to display a popup window in my code such that, no matter where I touch on the screen, the popup should show up right above the place I touch. Not sure, how to achieve this. This is my current popup window code:
LayoutInflater inflater =…
I am trying to dismiss a popup window which was created in TextView class.
The popup window is created as:
PopupWindow mPopupWindow;
mPopupWindow =new PopupWindow(mTextView.getContext(), null,
…
I am creating a PopupWindow message on onClick event of a ImageButton, I can see the PopupWindow message on Emulator but can't see it on mobile, I have tried many mobiles from API 17 to 23.
I am not able to find the issue…
Ok, I have the following requirements:
An EditText in which if the user types @ a popup with suggestions appears
The user can continue typing which will filter the suggestions
The user can tap on a suggestion which will complete the entry and…
I've been struggling with PopupMenu styling, and after a lot of research, the process of creating a custom PopupMenu style for my theme seemed to be fairly straightfoward. For example the answer on this question seems like an easy way to change the…