sketch-3

How to calculate letterSpacing for TextView from sketch values?

☆樱花仙子☆ 提交于 2020-06-11 17:34:12
问题 In design I have a text field with 16 as text size and 0.6 as character spacing But, if I set this value for android:letterSpacing attribute of TextView spacing will be much more larger than in design. So, what is the way to convert sketch value to android value? 回答1: According to Romain Guy, Android uses the "1 em = font size" definition, so you'd just do setLetterSpacing(characterSpacing / textSize) ...just make sure those values are in the same unit (dp vs px) 回答2: If Sketch provides the

Sketch to React? [closed]

谁说胖子不能爱 提交于 2020-04-17 22:50:07
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 28 days ago . We are trying to develop a workflow, utilizing React react-sketchapp Sketch, that a designer in Sketch can produce React components and the coding (at least for the CSS) is automatically generated and configurable. There doesn't seem to be a lot of documentation and/or support. We

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

Vector drawable not drawn correctly in Android Studio

一曲冷凌霜 提交于 2019-12-12 11:14:42
问题 I'm in the middle of a redesign for an app, and I am having problems with getting some of the icons to draw correctly in Android Studio. I'm using Sketch for all of the design work. I've looked around quite a bit online to try and figure out a solution but am having a very difficult explaining the problem with search terms, so I thought I would try posting screenshots and providing a Sketch file to see if the StackOverflow community can help. I think the problem has to do with the

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

泪湿孤枕 提交于 2019-12-06 10:10:06
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 ? 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