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 8057573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:04:34+00:00 2026-06-05T09:04:34+00:00

in my application I have a lit view. each row includes thumbnail image in

  • 0

in my application I have a lit view. each row includes thumbnail image in left and some text in right.

I can get image from server and inflate rows. everything about the list correct. it is like this image:

enter image description here

when user click on rows video will play. I need to add video sign to image simething like:
enter image description here
on top of each image. Is it possible to add this image on top of my imageview?

Thank you for your helping

  • 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-05T09:04:35+00:00Added an answer on June 5, 2026 at 9:04 am

    Say, your play icon is transparent, then use overlay technique to draw this play icon on your imageview image. Just use the following function:

     public Bitmap putOverlay(Bitmap bmp1, Bitmap overlay) {
            Bitmap bmOverlay = Bitmap.createBitmap(bmp1.getWidth(), bmp1.getHeight(), Bitmap.Config.ARGB_8888);
            Canvas canvas = new Canvas(bmOverlay);
            Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG);
    
                canvas.drawBitmap(bmp1, 0, 0, null); 
                canvas.drawBitmap(overlay, 0, 0, null);       
    
            return bmOverlay;
        }
    

    Pass image of your corresponding imageview and another image(for ex: play icon), it returns a merged image which you can set to your imageview. You can also extend ImageView class and override onDraw method to accomplish it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My Application have 5 activities(A1,A2,A3,A4,A5). Each activity have one text view and one button(B1,B2,B3,B4,B5).
My application have some problem on opening 32bit BMP images. some image has alpha
I see an application have used Log.info = some info where are these logs
I have application that is up more than 3 days. I can see in
I have created translation strings in the template and in the application view. Then
My application have to load some points from internal sqlite database of android, and
I have a WinForms application. That application have a rich functionality. It can create
I trying to display image in picture box. The application have two part. First
My application have several modules, each in one tab on the mainform. When using
In my CodeIgniter application have a common header and footer view, which I include

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.