I am using AChartEngine to make charts which seems to be working quite well so far.
The only thing to make this perfect would be to be able to put this chart on a popup. Unfortunately I have no idea how to do this. Whenever I try to include the…
I'm doing a android map where i have a map with some points using mapsforge and every point on the map is saved in a spatialite database. After that, every click on the map opens a custom PopUp window, that receive the current activity as context,…
I am working on a popup window, i am having two imagebuttons.at start all is looking good but when i put onclick event on my both image buttons than my app is crashed. i Don't understand why onclick is givving error. following is my code:
protected…
The title describes it rather well; A PopupWindow opens, and is used as a menu for my game. However, when I try to use a button to close the menu, Eclipse says "The local variable pw may not have been initialized" :\
My Java code:
package…
Basically, the button I click is for a store, and I'd like it to cause a PopUpWindow to appear from which you can buy upgrades (much like the Cookie Clicker menu). However, when I click the button, the app crashes. Someone's similar post said that…
I have a GridView A in a PopupWindow A.
And I just want to close the PopupWindow A, if I click one item in the GridView A.
Now It's just like when I open the result Fragment, the PopupWindow A keep stay on the screen.
And the PopupWindow A is also…
I have an activity and a class that implements a popup window. Using this tutorial I implemented the popup. I call the methods init() and popupInit() from the activity and everything else is in the class. My problem is that the popup does not…
I want to open a popup window in my activity but I want to implement the popup from another class. I'm using this tutorial but my app crashes. I call the methods init() and popupInit() from my activity and everything else is here:
package…
since last night I'm expecting this weird behavior of my application theme:
Popup menus appear with black background and AlertDialogs with white text color.
By the way, heres my styles.xml:
I'm having a really weird problem here. I have a PopupWindow working fine on my Moto G, Android 4.4. But now I'm testing on my Galaxy Y Android 2.3.6 and it seems the Popup is crashing on its instantiation.
My code:
// Function called when user hit…
I have a view class that draws different colored circles onto the canvas.
I want to display a popup window near the circle when the circle is clicked to display the color of the circle. Right now I am facing problem trying to create the popup…
I am trying to set PopupWindow in my app and it does not pop up.
Here is my code:
popUp.showAtLocation(layout, Gravity.BOTTOM, 10, 10);
popUp.update(50, 50, 300, 200);
layout.setOrientation(LinearLayout.VERTICAL);
…
I am using a PopupWindow to overlay a ViewPager with 5 different Fragments over users IME if he clicks on a specific button. As far as i know at the moment, it is not possible to use a Frgament as content of a PopupWindow. So my question is: Is it…
Suppose I have a Button like what is in the following:
I want once this button is clicked a ImageView(popup message) appears in the top of this button, something like this:
But I do not know how put a View as an overlay on top of another View,…
I created a popupwindow to show a menu. I found that if I press the cancel button on keyboard, the popupwindow will dismiss, and setFocusable() only disable the buttons like menu, but cancel button still works.
If there exists a method to make…