![]() ![]() To view the build result, click the Build tab. The version of the Relay for Android Studio plugin used to import the UI The JSON file which contains the definition of the component (includingĪny font files required to support the component in Jetpack Compose.Īpp/ui-packages/hello_card/*.png or *.jpegĪny image assets required to support the component. Theseįiles are used for code generation in the build step.Īpp/ui-packages/hello_card/hello_card.json In the Android view ofĪll source assets required to describe the component in code. Notice that new files have been added to your project - these should beĬommitted to source control as part of your project. When successfully downloaded, the component The prompts or repeat instructions to setup your Figma Access Token. Note: If you instead see a dialog about Figma Access Token, proceed with Note: If you see a keychain prompt, enter your password and click Allow. Getting the URL and come back to this dialog. Note: If you don’t have your Figma URL, repeat the instructions for ![]() ![]() In the Import UI Packages dialog, paste the URL of your Figma file and click In Android Studio, select File > New > Import UI Packages…. When you open the project, Android Studio may ask you if you trust the Go to File > Open, navigate to your homeįolder, select HelloFigma, and click Open. (which is the same project as in the Install Relay page).ĭouble-click the file to unzip it, which creates a folder called The dialog box that opens, click Copy link.ĭownload the pre-configured Android Studio project ZIP file In the upper right-hand corner of Figma, click on the Share button. To do this, we need to copy the Figma file’s URL andĮnter it into Android Studio’s import wizard. Now we are going to incorporate the UI Package created in Figma into yourĪndroid Studio project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |