Comments (8)
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.
@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
from iconify.
It should be automated, wizard cannot be used.
from iconify.
@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...
from iconify.
The api can be found here:
- https://developer.android.com/jetpack/compose/resources#vector-assets
- https://developer.android.com/jetpack/compose/resources#animated-vector-drawables
- built-in md icons: https://developer.android.com/jetpack/compose/resources (we need to create this)
EDIT: check the xml for svg here https://developer.android.com/studio/write/vector-asset-studio#code
from iconify.
Nice. So it might be possible.
from iconify.
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.
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)
- 在uniapp中怎么使用unocss+iconify实现图标展示啊? HOT 1
- 在uniapp中显示不出来图标 HOT 1
- @iconify/tailwind can't use underline HOT 3
- Opacity on icons HOT 1
- Feat: Type definition for all icon names HOT 1
- Icon toggles visibility when scrolled in/out of viewport - observer="false" does not work? HOT 7
- `@iconify-icon/react` prop `observe` didn't work HOT 2
- finding the "real corner" of an svg HOT 2
- Prefers reduced motion with transitions HOT 6
- I can't tell why is this happening HOT 9
- Npm install broken for 1.0.0 HOT 1
- Allows adding additional `attributes` when using `getIconCSS` HOT 5
- [BUG] Class extends value undefined is not a constructor or null HOT 3
- Plugin generates a lot of repeated CSS code HOT 2
- Unexpected element: <text> HOT 2
- Iconset request: Fluentui Emoji HOT 1
- ESM import issues HOT 6
- please add information about attribute `observer` and `noobserver` in the offcial site document HOT 1
- How do you guarantee icons don't change HOT 3
- Iconify - Definitely the easiest! Why not the fastest? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iconify.