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

  • SEARCH
  • Home
  • 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 8081185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:39:14+00:00 2026-06-05T16:39:14+00:00

I need to apply tint effect on image in Android . But the tint

  • 0

I need to apply tint effect on image in Android. But the tint effect will only have ORANGE COLOR tint. If anyone has done this type of effect, please help me.

I have seen all the web links found by searching tint effect, but all the links and resources are applying all color tint.

I need to implement this effect on seekbar progress.

Thanks in advance.

  • 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-05T16:39:16+00:00Added an answer on June 5, 2026 at 4:39 pm

    I have done that and here is the code. Its done on the seekbar progress and generates Yellow Tint effect on the image.

    skTint.setOnSeekBarChangeListener(new OnSeekBarChangeListener() {
    
            @Override
            public void onStopTrackingTouch(SeekBar arg0) {
            }
    
            @Override
            public void onStartTrackingTouch(SeekBar arg0) {
            }
    
            @Override
            public void onProgressChanged(SeekBar arg0, int progress,
                    boolean arg2) {
                skTint.setProgress(progress);
                String hex = Integer
                        .toHexString((progress - 255 < 0 ? (progress - 255)
                                * -1 : (progress - 255)));
                hex = (hex.length() == 1 ? "0" + hex : hex);
                hex = (hex.length() > 2 ? hex.substring(0, 1) : hex);
    
                String g_factor = Integer
                        .toHexString((int) (255 - (progress / 3)));
                g_factor = (g_factor.length() == 1 ? "0" + g_factor : g_factor);
    
                String colorcode = "#FFFF" + g_factor + hex;
    
                Bitmap alteredBitmap = Bitmap.createBitmap(
                        resized_bitmap.getWidth(), resized_bitmap.getHeight(),
                        resized_bitmap.getConfig());
                Canvas canvas = new Canvas(alteredBitmap);
                Paint paint = new Paint();
                ColorFilter cf = new PorterDuffColorFilter(Color
                        .parseColor(colorcode), Mode.MULTIPLY);
                paint.setColorFilter(cf);
                Matrix matrix = new Matrix();
                canvas.drawBitmap(resized_bitmap, matrix, paint);
                imgeffect.setImageBitmap(alteredBitmap);
            }
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to apply distortion image effect for uiimage? I dont know where i
Please I need to apply the toggle() function to only li that has ul
I need to apply a style on a recurring element which has a fixed
I have 7 million+ records that i need to apply multiple formula to it.
I need to apply HTTP auth just in public use of website, but I
I need to apply a jQuery plugin to an HTML element that will be
I need to apply color to teechart axis using System.drawing.Color Object Code is //chartData.ChartAxesArray[iAxis].AxisTitleColor
I have polygon given by the points sequence I need to apply follow rules:
I have a value in Jquery. I need to apply that value to a
I have a value in Jquery. I need to apply that value to a

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.