Learn how to expertly export graphics for use in iOS and Android apps with Adobe XD in our detailed tutorial.
This exercise is excerpted from Noble Desktop’s past web design training materials and is compatible with Adobe XD updates through 2020. We now teach Figma as the primary tool for web and UX & UI design. To learn current skills in web design, check out our Figma Bootcamp and graphic design classes in NYC and live online.
Topics covered in this Adobe XD tutorial:
Exporting for iOS apps, Exporting for Android apps
Exercise Preview
Exercise Overview
In this exercise, you’ll learn how to export graphics for use in iOS and Android apps.
Getting Started
- In Adobe XD, go to File > Open from Your Computer or hit Cmd–Shift–O (Mac) or Ctrl–Shift–O (Windows).
- Navigate into Desktop > Class Files > Adobe XD Class > App Design and double–click on Pulse App.xd to open it.
- Zoom to 200% by hitting Cmd–2 (Mac) or Ctrl–2 (Windows).
- Scroll to the top of the artboard and click on the search icon to select it.
- Hold Shift and click on the shopping bag icon to add it to the selection.
- If the Layers panel is not open, go to the bottom left of the window and click the
icon.
-
Notice the names of the two selected layers: search icon and shopping bag icon
These layer names will be used for the exported file names.
Exporting for iOS Apps
- Go to File > Export > Selected.
- Windows users only, next to Export to click Choose Destination (or Change).
- If you’re already in the App Design folder, go into the iOS Assets folder. (Otherwise, navigate to Desktop > Class Files > Adobe XD Class > App Design > iOS Assets.)
- Windows users only, click Select Folder.
-
Set the following (Mac users: If you don’t see them, click the Options button):
Format: PNG Export Size: Choose iOS from the menu. -
Click Export.
Before we look at the exported files, we want to do one more export. iOS developers can use PNGs (1x, 2x, and 3x sizes), or a single 1x sized PDF. Because PDF is a vector format, the different sizes are not necessary. The 1x, 2x, and 3x assets can be generated from the vector PDF. You should ask your app developer which format they prefer (PNG or PDF).
-
Let’s see how to export a PDF for iOS apps. Again go to File > Export > Selected.
- Mac users: You should still be in the iOS Assets folder.
- Windows users: Export to should still be set to the iOS Assets folder.
-
Set the following (Mac users: If you don’t see them, click the Options button):
Format: PDF Save selected assets as: Multiple PDF Files - Click Export.
- Let’s look at the final exported files. Switch to the Desktop (the Finder on Mac or Windows Explorer on Windows).
- Navigate into Desktop > Class Files > Adobe XD Class > App Design > iOS Assets.
-
Notice we have the 6 PNG files (both icons were exported in 1x, 2x, and 3x sizes) as well as as a PDF for both icons.
REMINDER: Ask your app developer which format they prefer (PNG or PDF) so you can save yourself some work and only export the format they want.
TIP: Exporting as PDF can also be a nice way to get graphics into other apps, such as Adobe Illustrator.
Switch back to XD.
Exporting for Android Apps
- Make sure the search icon and shopping bag icon are still selected.
- Go to File > Export > Selected.
- Windows users only, next to Export to click Change.
- Navigate to Desktop > Class Files > Adobe XD Class > App Design > Android Assets.
- Windows users only, click Select Folder.
-
Set the following (Mac users: If you don’t see them, click the Options button):
Format: PNG Export Size: Choose Android from the menu. - Click Export.
- Switch to the Desktop (the Finder on Mac or Windows Explorer on Windows).
- Navigate into Desktop > Class Files > Adobe XD Class > App Design > Android Assets.
- Notice the Android Assets folder contains six folders. Each folder contains the icons we exported in different sizes.
- Switch back to XD.
Close the file. We didn’t make any changes to the file so there’s no need to save it.