Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

273
Views
Can I use Jetpack compose icons outside @Composable?

Can I use Jetpack compose icons outside @Composable?

I would like to convert compose icons (actually instances of ImageVector) to Bitmap or Drawable. How to achieve this?

All methods like rememberVectorPainter() or Image() requiring @Composable context. But I just want to use them as ordinary Bitmap/Drawable, is it possible?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I would like to convert compose icons (actually instances of ImageVector)

ImageVector is a class in androidx.compose.ui.graphics.vector, which means it can only be used if you use the Compose libraries.

Good news is all the material icons can be obtained as SVG or PNG which can be used as Drawable resources with Android Studio's Resource Manager (Tools Menu -> Resource Manager). Also check out related vector asset studio

You can get the icons (SVG and PNG versions) here.

Just click on the icon and a pane will pop up on the right with blue buttons to download the icons.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!