How to import UI assets or layouts from Sketch 3 directly to Android Studio?

大憨熊 提交于 2020-01-02 11:00:13

问题


I have developed the UI and flows for an android app on Sketch 3. Now, I am developing that app. So, is there any way to directly exports the layouts or even individual assets to Android Studio?


回答1:


There many plugins for sketch .

e.g You have to install this plugin for sketch 3 see link

Installation

The actual location of your Sketch plugins directory will vary. To open it just click on the Reveal Plugins Folder under the Plugins menu in sketch.

Run following command after going to the sketch plugins folder:

git clone git@github.com:GeertWille/sketch-export-assets.git sketch-export-assets.sketchplugin

OR

Create a new directory called sketch-export-assets.sketchplugin and place the content of this repository in it.

Once you have checked out the plugin repository into the relevant directory, you'll find the plugin functions under the Plugins menu in Sketch.



来源:https://stackoverflow.com/questions/31217933/how-to-import-ui-assets-or-layouts-from-sketch-3-directly-to-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!