Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8439401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:00:05+00:00 2026-06-10T08:00:05+00:00

How to get this blue glow effect over an icon? Is there any quick

  • 0

How to get this blue glow effect over an icon? Is there any quick way of doing it? I really don’t want to use photoshop for this effect.

Any help would be really appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:00:07+00:00Added an answer on June 10, 2026 at 8:00 am

    If you want to generate the glow programatically, here’s how you can do. My advice, generate it just once at the beggining of your activity, then create a StateListDrawable using it, as said in the comment :

        // An added margin to the initial image
        int margin = 24;
        int halfMargin = margin / 2;
    
        // the glow radius
        int glowRadius = 16;
    
        // the glow color
        int glowColor = Color.rgb(0, 192, 255);
    
        // The original image to use
        Bitmap src = BitmapFactory.decodeResource(getResources(),
                R.drawable.ic_launcher);
    
        // extract the alpha from the source image
        Bitmap alpha = src.extractAlpha();
    
        // The output bitmap (with the icon + glow)
        Bitmap bmp = Bitmap.createBitmap(src.getWidth() + margin,
                src.getHeight() + margin, Bitmap.Config.ARGB_8888);
    
        // The canvas to paint on the image
        Canvas canvas = new Canvas(bmp);
    
        Paint paint = new Paint();
        paint.setColor(glowColor);
    
        // outer glow
        paint.setMaskFilter(new BlurMaskFilter(glowRadius, Blur.OUTER));
        canvas.drawBitmap(alpha, halfMargin, halfMargin, paint);
    
        // original icon
        canvas.drawBitmap(src, halfMargin, halfMargin, null);
    
        ((ImageView) findViewById(R.id.bmpImg)).setImageBitmap(bmp);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Cant get this script to work with my menu really have tried everything any
I can't figure this one out. I'm trying to get rid of that blue
So, out of the blue I get this error message. Description Resource Path Location
If I use the url tag with double quotes: @{/public/images/blue.png} I get this error:
I'm trying to draw an image with a certain color. To get this effect,
Always (programmatically or via IB) i get this blue shadow on the first set
I don't want to discuss the merits of this approach, just if it is
I'm trying to get this blue border (which is around a NSTextFieldCell when you
Is there a way, using either CSS or JavaScript, to get rid of the
I get this error while accessing a php script: W/System.err: Error reading from ./org/apache/harmony/awt/www/content/text/html.class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.