Comments (6)
I´ve the same problem, I appreciate any help.
from newquickaction3d.
I also have the exact same problem.
from newquickaction3d.
I think that is a cyanogen problem (in my case) because this behavior is the same in the system app's popupwindow
from newquickaction3d.
The problem is this line in PopupWindows.java:
mWindow.setBackgroundDrawable(new BitmapDrawable());
Remove the if/else clause completely and change it to:
mWindow.setBackgroundDrawable(mBackground);
It's OK to set a null background on PopupWindow. And it fixes this issue :-)
from newquickaction3d.
if you will remove mWindow.setBackgroundDrawable(new BitmapDrawable()); then once the QuickAction gets open and if you try to click on some other part of the screen then it will not get closed automatically.
so mWindow.setBackgroundDrawable(null); wont be the solution
from newquickaction3d.
sunloverz wrote solution (if you can call it like this) in NewQuickAction project discussions. It works with NewQuickAction3D.
Just change dismiss() method in PopupWindows.java to something like this:
public void dismiss() {
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
// Will be called after 1 ms
mWindow.dismiss();
}
}, 1);
}
Works for me.
from newquickaction3d.
Related Issues (19)
- The container moves at each show HOT 4
- Positioning button and title in the action item
- maven support HOT 1
- Why complete new repository?
- problem with listview HOT 1
- yPos does not offset window decoration
- mquickAction.addActionItem(faceItem); return nullpointer exeption HOT 1
- How to increase the text font size ?
- Crash after few times showing the quickaction HOT 3
- Mote than 5 Menu in Screen ?
- Migrate from NewQuickAction to NewQuickAction3D
- YouTube
- bin folder under version control
- error when use as library
- Inflate actions from XML file
- Problem with many QuickActionItem s
- Orientation Problem
- grid mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newquickaction3d.