Giter Site home page Giter Site logo

Comments (8)

cyberalien avatar cyberalien commented on June 20, 2024

I don't know anything about Android development, so don't know what format is used, how to convert it, what part of SVG can be converted and so on.

from iconify.

userquin avatar userquin commented on June 20, 2024

@cyberalien I guess it is about creating vector assets using svg (using local file in the wizard below)

@elax46 this is something you need to build, iconify is about svg and html, maybe we can check how to build a kotlin snippet via jetpack compose api for svg: md3 has something similar for the md3 theme here https://m3.material.io/theme-builder#/custom (check export button in the top navbar)

There is a figma plugin here but not tested yet: https://www.figma.com/community/plugin/1034969338659738588/material-theme-builder

imagen

from iconify.

cyberalien avatar cyberalien commented on June 20, 2024

It should be automated, wizard cannot be used.

from iconify.

userquin avatar userquin commented on June 20, 2024

@cyberalien yeah, this is a wizard inside Android Studio (check screenshot below): with the new UI (jetpack compose), there are some api to build the new ui stuff without xml like on the export button with the md3 theme.

IIRC, the figma plugin should have an utility to export kotlin stuff for the md3 theme and so if we can add svg images there, the kotlin code should be also there. OFC, you need figma (I have no idea if the figma plugin will allow to add svg images, I think it should), otherwise we need to create the corresponding kotlin code...

imagen

from iconify.

userquin avatar userquin commented on June 20, 2024

The api can be found here:

EDIT: check the xml for svg here https://developer.android.com/studio/write/vector-asset-studio#code

from iconify.

cyberalien avatar cyberalien commented on June 20, 2024

Nice. So it might be possible.

from iconify.

elax46 avatar elax46 commented on June 20, 2024

Yes, I know how Android Studio works and how to integrate files, I need to study better how to create a library that can be updated dynamically or automatically

from iconify.

userquin avatar userquin commented on June 20, 2024

There are a few icons in the compose library: https://material.io/blog/jetpack-compose-beta

We need to check the source code of those libraries: https://fonts.google.com/icons?selected=Material+Icons:fingerprint:&icon.platform=android

from iconify.

Related Issues (20)

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.