אם אתם רוצים לדעת איך אפליקציה בנויה, Gemini יכול להסביר איך ממשק המשתמש פועל מבחינת חלקי הרכיבים שלו. כאן ביקשנו מ-Gemini להסביר את רכיבי ה-Composable ואת זרימת הנתונים שמאחורי צילום מסך נוסף של Now in Android.
אם יש לכם תרשים של ארכיטקטורת אפליקציה, Gemini יכול להציע קוד ליצירת האפליקציה על סמך התרשים, ולשמש כעוזר פיתוח מלא. Gemini יכול גם לעזור לתעד את הדיאגרמה ולהסביר את המבנה של האפליקציה, מה שיכול לעזור לכם לכתוב מסמך עיצוב שחברי הצוות יוכלו לבדוק.
אם אתם נתקלים בבאג בממשק המשתמש, צלמו צילום מסך ובקשו מ-Gemini להציע פתרונות. כדי לעזור לנו להבין מה הבעיה, אפשר להקיף בעיגול את האזור שבו מופיעה השגיאה.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-09-02 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-09-02 (שעון UTC)."],[],[],null,["# Attach an image to your query\n\n| **Preview:** Enable image attachment through [Studio Labs](/studio/gemini/labs).\n| **Note:** Image attachment is currently available in Gemini's no-cost tier.\n\nAttach an image to your query for Gemini in Android Studio to better\nunderstand an app's architecture and accelerate the UI development process.\n\nTo attach an image to your prompt, click **Attach Image File**\n\nand upload the image.\n\nHere are just a few ways Gemini can help with images:\n\n- If you have a mock-up of the UI you'd like, Gemini can provide the code that\n creates it. Here we've shown Gemini a screenshot of the\n [Now in Android](https://github.com/android/nowinandroid) app and\n asked it to provide the Compose code to create it. To learn more, see\n [Generate UI with image attachments](/studio/gemini/generate-ui-with-images).\n\n- If you want to learn how an app is constructed, Gemini can explain how the UI\n works in terms of its component parts. Here we've asked Gemini to explain\n the composables and data flow behind another Now in Android screenshot.\n\n- If you have an app architecture diagram, Gemini can suggest code to create the\n app based on the diagram, serving as a full stack development assistant. Gemini\n can also help document the diagram and explain the construction of the app,\n which helps when writing a design doc for your teammates to review.\n\n- If you notice a UI bug, take a screenshot and ask Gemini to brainstorm\n solutions. You can help point out what's wrong by circling the area that has the\n error."]]