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 data to recyclerView. But i have a problem with…
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
menuPopup = PopupWindow(context).apply {
…
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 with a transparent popupWindow and…
While running automated UI tests with multiple workers I would like to execute the following script:
beforeAll(async () => {
if (device.getPlatform() === 'android') {
console.log('*** disable android system popups ***')
…
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 currently the popup is always being displayed…
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
popupWindow?.showAsDropDown(achorView,…
[![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 window is covering the whole height from anchor view.…
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 anchorView paramter does not function in the way…
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 animation starts. After the animation has finished, the…
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 approved answer is…
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 menu item (from the arrayAMap array) and use it…
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 mBucketNames, ArrayList mImagesBucket) {
…
I have a functioning settings activity (the default one that Android studio generates) which I would like to display inside a PopupWindow.
I researched how to do this and most answers that show how to display an activity inside a popup window…
I am creating a quiz app where i want to make to create a popup window, when a user gives the right answer a popup should appear showing a text that he has given a right answer and a button. The button should move user to the next question in the…
At the bottom right of the page I have a view on whose click I am opening the pop up window. But it opens up overlapping the view. I want it to open above the view.
Below are the screenshots.
And below is my code
Creating the window as…