I've created my own android drop down list (spinner). Its custom made by using a popupWindow(...). Now i would like to style it accordingly. I'd like to apply the same styles that a spinner drop down has or even another kind of drop down. Im…
I want to show a popup window from my PlaceHodler class extending Fragment when the button is clicked. For a test, I wrote this code which really works, but I guess it's ridiculous (using Button object as a parent view and so on... I couldn't find…
I am having an issue with grabbing my Buttons and other elements from within my PopupWindow, using the debugger it just report back as null?
private void initiatePopupWindow()
{
try
{
// We…
Background
Seeing that it's not officially possible to have a context menu which has a customized view or even icons for its rows (here), I decided to create my own solution (of custom view that acts like it).
The problem
When using a context menu…
I am trying to center horizontally a PopUpWindow on the anchored view, but the Gravity.CENTER parameter is being ignored.
This is the method I am using:
popupWindow.showAsDropDown(anchorView, 0, 0, Gravity.CENTER);
No matter what CENTER gravity…
I have a list view populated in popup.
I am using 1.0.4 version of
Rg.plugins.popup.
on selecting list item, I'm calling
PopupNavigation.PopAsync(true);
to close the popup.
but sometimes I'm getting below…
I have a problem with a custom PopupWindow associated with a TextView with the method setSuggestionPopup.
When I click in the TextView and my layout scrolls up so that the TextView is not covered by the virtual keyboard my custom popup doesn't…
I am using a recyclerview which has a menu for each of its item. I am using a pop up window to achieve the same instead of pop up menu as I have a customized layout. The issue that I am facing is that when I open the menu from the items at bottom of…
I am making a reading app and it has a full screen activity.
When user selects the part of the text a contextual action bar appears with option of copy. This is the default behaviour. But this actionbar blocks the text under it so user cannot select…
I have a Popup window that pops up when a button in an activity is clicked. The dialog covers the whole screen and contains only three buttons. If a button is clicked, then they function accordingly. However, if a user touches anywhere in a popup…
I'm using Android Studio 2.2.3 on Mac. Whenever I add a new element in a layout resource XML, the layout_width and layout_height attributes are auto-completed and the cursor jumps to the value of layout_width (which is fine).
The problem is that…
I'm trying to extend my custom KeyboardView. Is there any way to customize the keyPreview and popUpKeyboard appearance without implementing the KeyboardView from scratch ?
Premise: with "on top of" I mean "overlaying", with a "higher z-index", so to speak; with "above" I mean "visually above, on the screen".
I guess the question would be "how to display a PopupWindow on top of the keyboard when a Dialog is…