GithubHelp home page GithubHelp logo

Comments (6)

xhandros avatar xhandros commented on July 19, 2024

I´ve the same problem, I appreciate any help.

from newquickaction3d.

eo avatar eo commented on July 19, 2024

I also have the exact same problem.

from newquickaction3d.

xhandros avatar xhandros commented on July 19, 2024

I think that is a cyanogen problem (in my case) because this behavior is the same in the system app's popupwindow

from newquickaction3d.

pacificsky avatar pacificsky commented on July 19, 2024

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.

coup avatar coup commented on July 19, 2024

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.

khaykov avatar khaykov commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.