Giter Site home page Giter Site logo

probir-cse / blur-behind-alert-dialog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nitiwari-dev/blur-behind-alert-dialog

0.0 1.0 0.0 167 KB

Blur behind alert dialog demo. From API 17 we can use renderscript blur api. Demo is integrated using both renderscript blur api and fastblur method.

Home Page: http://www.coderconsole.com/2015/02/blur-behind-alert-dialog.html

Java 4.98% Kotlin 95.02%

blur-behind-alert-dialog's Introduction

Update

Demo is also using renderscript api to blur background for API level >= 17 and uses fastblur to API level < 17

Blur-behind-alert-dialog

In this demo I have shown you how we can blur the background of AlertDialog .

Its an alternative from API 14 against dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); which is deprecated.

Before:

before

After:

after

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.