קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אפליקציות ל-Android פועלות במגוון רחב של מכשירים – החל מטלפונים מתקפלים ועד לטלוויזיות מוצמדות לקיר. כדי לספק חוויית משתמש מעולה בכל סוגי המכשירים, כדאי להתאים את ממשק המשתמש של האפליקציה לגודלי מסך ולהגדרות שונות. האפליקציות הטובות ביותר ל-Android מנצלות את שטח המסך בצורה מיטבית ומטפלות בשינויים בשטח הזה במהלך זמן הריצה, כולל שינויים בכיוון ובגודל החלון במצבי מסך מפוצל וחלון במחשב.
נושאים
במסמכי התיעוד בנושא פריסות מותאמות אישית מוסבר איך:
תכנון והטמעה של פריסות מותאמות
שינוי הניווט הראשי של האפליקציה בהתאם לגודל החלון
שימוש בקטגוריות של גדלים של חלונות כדי להתאים את ממשק המשתמש של האפליקציה
הפשטת ההטמעה של פריסות קנוניקליות, כמו רשימה עם פרטים, באמצעות ממשקי Jetpack API
דרישות מוקדמות
ההנחיות לגבי פריסות מותאמות אישית מבוססות על ההנחה שאתם מבינים את המושגים הבאים:
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# About adaptive layouts\n\nAndroid apps run on a wide variety of devices---from foldable flip phones to\nwall‑mounted TVs. To provide a great user experience on all types of\ndevices, adapt your app's UI to different display sizes and configurations. The\nbest Android apps make the most of the screen space they occupy and handle\nchanges to that space at runtime, including orientation changes and window\nresizing in split‑screen and desktop windowing modes.\n| **Note:** For apps that target Android 16 (API level 36), the system ignores screen orientation, aspect ratio, and app resizablility restrictions to improve the layout of apps on form factors with smallest width \\\u003e= 600dp. See [App\n| orientation, aspect ratio, and\n| resizability](/develop/ui/compose/layouts/adaptive/app-orientation-aspect-ratio-resizability).\n\nTopics\n------\n\nThe adaptive layouts documentation provides guidance on how to:\n\n- Design and implement adaptive layouts\n- Adjust your app's primary navigation based on window size\n- Use window size classes to adapt your app's UI\n- Simplify implementation of canonical layouts, such as list‑detail, using the Jetpack APIs\n\nPrerequisites\n-------------\n\nThe adaptive layouts guidance assumes you understand the following concepts:\n\n- [Jetpack Compose basics](/develop/ui/compose/mental-model), including recomposition"]]