Skip to content

Latest commit

 

History

History
executable file
·
56 lines (35 loc) · 1.14 KB

README.md

File metadata and controls

executable file
·
56 lines (35 loc) · 1.14 KB

Export From SketchApp and Arrange for Android Studio

This shell script is for arranging exported assets from sketchapp for Android Development.

Install

The following installs the script making it system-available.

$ git clone [email protected]:Chingiz/exfsa.git
$ cd exfsa
$ sudo cp exfsa /usr/bin

How to use

Export asset from SketchApp

Export the assets from SketchApp with the appropriate suffixes. Make sure there are no whitespaces in the filenames.

Required suffixes:

  • @1x
  • @2x
  • @3x
  • @1.5x
  • @4x

Exporting guide:

Select the element to export

Selected Element

Make it exportable and fill the sizes and suffixes

Exported Settings

Export the assets to a folder. They will look like this:

Exported Assets

Run the exfsa script

This will rename the assets and place them in the appropriate folders.

$ exfsa

Final result

Final Result

License

MIT © Chingiz Huseynzade