I want to change the space between items in my popupmenu on android
the space i mean is this one:
I hope there is a straight foward solution, but as i know android it shall not be so simple
anyway i would like also to set the maxHeight of my…
When I build a popupWindow from a dialog in Android 9.0, whose positionX is negative, the left content of popupWindow is clipped. I tried this on all other systems (before 9.0), it works normal, popupWindow normally was shown left of the…
I have an ImageView that opens a PopupMenu on click. How can I set the PopupMenu to display at a certain position? The PopupMenu will serve as a drop down menu and I would like the top right corner of the PopupMenu to be where the user clicked. See…
popupwindow_obj.showAsDropDown(clickbtn, -40, 18); // where u want show on view click event popupwindow.showAsDropDown(view, x, y);
Why is it that it is needed to specify absolute x and y co-ordinate values for pop up window object to be shown as…
I am trying to make a popup that is going to have text fields and information to ask the user but I am wondering how to make it so that the user can close it by clicking outside of the popup where the main fragment / activity is.
@Override
…
I am using AutoCompleteTextView with custom item_layout. If layout_width is not match_parent there is a scrollbar showing even I have only one hint when hint is too big. But if we use width match_parent there is no scrollbar. I want to use limited…
i want to know that is there any way by which we can disable or hide the popup when our apps is opened.No popup should be show over the screen while My App is opened.Like Facebook Messenger or Whatsapp Popup came over the screen anytime.
Thanks.
I have a Popup window Anchored to a Text View
popUpWindow.showAsDropDown(textView, final_placement_width, final_placement_height);
and when ever I scroll down this TextView will move up along with the popup window.
The problem is if i scroll down…
I have a ListView in SomeActivity conatins employee names. On item list click i want to popup a window which displays employee details of clicked item.
i tried this popupwindow.xml
I am developing app having a popup window showing successfully but button inside is not working. When the button is click the event is not listening. The code is shown below.
private void showPopup() {
//LayoutInflater inflater =…
I am using a custom popup menu that pops inside a RecycleView container.
When the view touched is the on at the bottom, the popup menu hides the controls bellow the RecycleView.
I want to adjust the popup position in this case, bringing the popup…
I created a custom button that shows a PopupWindow when touched. This works perfectly on all my devices as well as the Android emulator. However, I sometimes get crash reports on Google Developer Console, but unfortunately I can't reproduce it and…
I displayed PopupWindow in fragment and it works well except when side menu appears. Side menu is displayed behind the PopupWindow which I don't want.
So I think it would be good to set parent of PopupWindow or maybe zOrder.
LinearLayout…
I'm working on a gridLayout with recyclerView in android.I've a an option with each grid Item where I want to show my popup activity which is another class. Please see the image -
There is a menu option with each Item. and my popup activity java…