Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

I need to override back event handling when popup is displayed. I made it with OnBackPressedCallback. If such action is done by system button, it works fine. But back gesture closes popup instantly on ...
Andrey Golubev's user avatar
0 votes
1 answer
360 views

I have the following register initialized in onCreate method of an AppCompatActivity class: ActivityResultLauncher<String> requestPermissionLauncher = registerForActivityResult(...
mizel hozal's user avatar
3 votes
0 answers
396 views

I am trying to recreate a drop-down-like component that I found on another app using Jetpack Compose, but I am facing issues around sizing and positioning. Here is the approximate look I am going for: ...
Stelios Papamichail's user avatar
0 votes
1 answer
68 views

I am trying to create custom keyboard for android system with Buttons and it is working fine. But now I want to add key preview. I am new in android, plese help me if it is possible showing ...
SHIMON HANSDA's user avatar
3 votes
0 answers
540 views

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 ...
Duke's user avatar
  • 51
0 votes
1 answer
448 views

I have and simple app form (Android dev course) and I learn to use RecyclerView. The code works fine (if I use RecyclerView in MainActivity) but if I want to put that RecyclerView inside a PopupWindow,...
Adrian Barbu's user avatar
0 votes
1 answer
177 views

I have an app that uses a popupWindow for user chat. It is launched from a Fragment, and the supplied context is getActivity(). I will be typing in the popupWindow's multilineEditText and, after about ...
Michael Plischke's user avatar
0 votes
0 answers
174 views

Hi I've been trying to make a pop up window which presents a trackable seekbar as a part of a school project, both parts of the code work alone but when put together the seekbar progress is not ...
dvirb's user avatar
  • 63
0 votes
0 answers
846 views

I have been stuck on this for a while now and went through other posts on this site but nothing works for me. I tried to create a basic dummy project and still no luck. I am trying to use animations ...
varunkr's user avatar
  • 5,552
0 votes
1 answer
162 views

so I want to make an app, where you can add data such as Image, Video, description and Title from PopupWindow, then by clicking AddButton it will add provided data to recyclerView. I know I need to ...
Dominik's user avatar
  • 119
1 vote
3 answers
176 views

I want to make an app, where i click on button on bottomNavigationView and PopupWindow opens, i can choose image (thumbnail) and Video from my gallery, add description and title. Then add provided ...
Dominik's user avatar
  • 119
0 votes
2 answers
60 views

so i want to add video, and image selection inside a popupWindow and later add all of this inside recyclerView. But when i try to open my popupWindow app crashes, i checked my logcat and i understand ...
Dominik's user avatar
  • 119
0 votes
1 answer
558 views

I am trying to display @ user mentions like facebook or twitter. I am able to implement this functionality. But i have a ui problem. If edittext is at the bottom of the screen i need to show ...
Raghunandan Kavi's user avatar
0 votes
1 answer
1k views

Hello : i want to make my activity appear like that my activity have a edittext with button inside cardview only .
MiniDev99's user avatar
  • 334
0 votes
1 answer
1k views

I have an editText box in my activity in which the user enters his/her phone number and then clicks on a Next button. Now, on clicking on the Button, I have inflated a popup view that shows the user ...
Shaurya Goyal's user avatar
1 vote
1 answer
481 views

My app is a full screen app. It goes full width and does not show a status bar, uses CutoutMode and hides controls like (Home and Back). This also works well. However, when I create a PopUpWindow, ...
kuzdu's user avatar
  • 7,584
1 vote
0 answers
123 views

I use PopupWindow to show menu in Fragment and then navigate with Navigation Compopnent to another Fragment override fun createPopupMenu(popupView: View?) { if (popupView == null) return ...
Anton A.'s user avatar
  • 1,768
0 votes
1 answer
181 views

I've got a PopupWindow 'mPlayPopup' that I want to get displayed just below a certain View 'mPlayButton'. Here's how I do it: mPlayButton = new Button(activity); mPlayButton.setOnClickListener( new ...
Leszek's user avatar
  • 1,243
1 vote
0 answers
47 views

I need the keyboard to cover the main content on the screen but some views should be placed above the keyboard. So I use WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING for my activity and hack ...
mvs's user avatar
  • 11
-1 votes
1 answer
61 views

I want to show this popup dialog when user select any image from recyclerview and this popup dialog this image by down arrow as showing in image.
Mas Donuts's user avatar
12 votes
2 answers
3k views

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$...
Bruno Oliveira's user avatar
0 votes
1 answer
415 views

I have a PopupWindow which uses a custom layout with a single Button. The Button has android:background="?attr/selectableItemBackground" set to have a ripple effect. The ripple effect works ...
sudoExclamationExclamation's user avatar
0 votes
1 answer
449 views

I want to display the popup in the position where the user clicked on the screen, I use the function - showAtLocation (mainView, Gravity.TOP or Gravity.START, posX, posY), everything is fine in the x ...
Alex Alex's user avatar
  • 131
0 votes
1 answer
53 views

In my Class which extends ListFragment I have a popup window which shows when I click one button. My problem is I don't know if I can use ActionBar in it. I mean I want to get an back arrow and it ...
H4wk's user avatar
  • 1
0 votes
0 answers
121 views

Good afternoon, I am clicking inside the popupview, and it is closing, the behavior I hope is that the click event will only be triggered by clicking outside, but as you can see the popup is occupying ...
Gabriel Ribeiro's user avatar
1 vote
0 answers
349 views

While running automated UI tests with multiple workers I would like to execute the following script: beforeAll(async () => { if (device.getPlatform() === 'android') { console.log('*** ...
Zoltan Szokodi's user avatar
0 votes
2 answers
219 views

I'm trying to show a full screen popup window from a fragment. I was starting the layout for the screen and it looked as expected in the AS screen preview, but it doesn't when it is executed in a ...
SergiBC's user avatar
  • 533
1 vote
1 answer
2k views

I have Tab Layout with multiple fragments and I would like to display a Popup only when a specific screen is being displayed. I am using the Jetpack Compose Popup component. I followed the docs and ...
Maiko Trindade's user avatar
0 votes
1 answer
774 views

I am using PopupWindow in my android app and its working fine. But I have to add elevation to it but its not working. Here is how I am doing it View to show in popup window popup_view_order_status ...
Zohab Ali's user avatar
  • 9,854
2 votes
0 answers
47 views

I'm trying to set a custom drawable to my AutoCompleteTextView's popup background. This is my drawable: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape=...
Saman Sattari's user avatar
1 vote
0 answers
61 views

i was trying to show popupwindow above the view to the right corner i have used the below code val minusY = UiUtil.pxFromDp(requireContext(), -300f) // this is the height of the popupwindow 300dp ...
avez raj's user avatar
  • 2,145
1 vote
1 answer
580 views

[![enter image description here][1]][1] Hi, How can achieve the above image. when user clicks on the profile icon then the pop up window will display. But here the problem i am getting is pop up ...
vijju's user avatar
  • 462
1 vote
1 answer
639 views

I am trying to show a popup right below the center of another view (anchorView). But I cannot control the location using the code below. I don't know how to use showAtLocation correctly. It seems the ...
user2818066's user avatar
1 vote
1 answer
338 views

I added aListPopupWindow anchored to a TextInputLayout. The issue I have with this is that the animation for the popup starts within the TextInputLayout: Note that the issue is just where the ...
me.at.coding's user avatar
  • 18.5k
2 votes
0 answers
203 views

I'm using the ZoomageView library in PopupWindows to show an image with zoomable capacity. But the problem is that I want to dismiss it by a swipe to the top but can't because ZoomageView has its own ...
Gk Mohammad Emon's user avatar
0 votes
1 answer
190 views

I want to create a popupWindow which behaves like a dialog. I will have a daemon running in the background and once the daemon receives a signal the popupWindow shall appear on top of whatever is ...
vMysterion's user avatar
3 votes
0 answers
190 views

My game windows are all floating PopupWindows backpackPopupWindow = new PopupWindow(backpackView, width, height, focusable); Some of my users reported after 30 minutes or so it will randomly crash ...
KisnardOnline's user avatar
4 votes
4 answers
9k views

I have a menu which has sharp rectangle background. I have tried a lot i can't change it to rounded background. popup_menu.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/...
Muthukumaaran Chandramohan's user avatar
2 votes
0 answers
630 views

In some recent MIUI 11 update, it seems no longer possible to launch an Activity (at least, of another app) from a System Alert Window (SAW) running in a Foreground Service. I can confirm on my MIUI ...
Mark's user avatar
  • 7,790
0 votes
0 answers
264 views

I'm currently trying to implement a custom loading dialog, However when I try to inflate my layout in the PreExecute of an AsyncTask the app crashes with a BadTokenException. I haven't been able to ...
barbecu's user avatar
  • 762
0 votes
1 answer
1k views

I want to show a navigation guide for that I am using popup window in which I have a hand image which should move from right to left of the window continuous. It should start from right, go to left ...
Sid's user avatar
  • 2,872
0 votes
1 answer
471 views

I want to show popup window with Recycler view for menu. popup window top right corner -> i am showing sort up arrow icon. So i set the transparent background for popup window and showing recycler ...
vairaganesh v's user avatar
2 votes
2 answers
2k views

I am able to get the pop up window but the background is transparent also I am able to read the contents of the activity behind it. I want to dim the background so the pop up and the older activity ...
heisenberg3008's user avatar
1 vote
0 answers
377 views

I've got a Button, and upon clicking it I would like to show a PopupWindow. The Window should be displayed just above the Button. I have read: Android - PopupWindow above a specific view where the ...
Leszek's user avatar
  • 1,243
1 vote
1 answer
1k views

I've got a Popup menu that should launch a Maps intent whenever a Popup menu item is clicked. In popupMenu.setOnMenuItemClickListener, does anyone know how I can pass the String of the clicked Popup ...
wbk727's user avatar
  • 8,458
1 vote
3 answers
2k views

I have a recyclerview inside my PopupWindow, how do I dismiss the PopupWindow after clicking on an item inside my recycler? public SelectBucketMenu(Context context, ArrayList<String> ...
WHOATEMYNOODLES's user avatar
4 votes
3 answers
2k views

PopupWindow inflates fine until it is near bottom of screen it's being cut off. Anyone know how I can it inflate upwards when it's towards bottom of screen? public SelectBucketMenu(Context context) { ...
WHOATEMYNOODLES's user avatar
0 votes
1 answer
1k views

whenever focus is available on edittext. Keyboard is open and all views are adjust and go upward like below sample image. Button.setOnClickListener(new View.OnClickListener() { @Override ...
tailor's user avatar
  • 443
2 votes
2 answers
358 views

My PopupWindow is working perfectly fine on my API 28,29 Emulators, but not sure why it's not showing any view on my API 19 real device. The window is definitely created though because when I click on ...
WHOATEMYNOODLES's user avatar
2 votes
1 answer
5k views

My app has an activity with ViewPager of three Fragment as pages and each pages has some buttons. So my question is, Is it possible to popup a message or a dialog when click on these buttons, which ...
P. Mohanta's user avatar

1
2 3 4 5
8