הבדלים ברינדור של אפליקציות ב-Chromebooks
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מאחר שאפליקציות ל-Android פועלות בחלון ב-ChromeOS, יש הבדלים קלים באופן שבו האפליקציות מוצגות ב-Chromebooks. ההבדלים האלה מפורטים בפסקה הבאה.
משימות, חלונות ושקיפות
משימה מורכבת מערימה של פעילויות שהמשתמש מבצע אינטראקציה איתן כשמריצים אפליקציה. המשימות מוצגות ב-ChromeOS כחלון עם סרגל כותרת, והאפליקציות מוצגות בשכבות אחת מעל השנייה. לאחר מכן, כל פעילות יכולה להיות שקופה חלקית, כך שהשכבות התחתונות יוכלו להיראות.
באפליקציה רגילה ל-Android, המשימה הקודמת או שולחן העבודה מוצגים מתחת למשימה.
כך תמיד אפשר לראות משהו מתחת למשימה שקופה.
הפתרון הזה לא פועל בסביבת חלון, מהסיבות הבאות:
- אי אפשר לשלוט בתוכן שגלוי מתחת לחלון, ולכן הוא יכול להיות כל דבר.
- פיקסלים שקופים לחלוטין עלולים לבלוע 'באופן קסום' אירועי מגע או אירועי עכבר.
- יכול להיות שרכיבי החלון לא יהיו מחוברים באופן חזותי לכותרת, וכך המשתמש עלול להתבלבל מרכיבים חזותיים שעשויים להיות לא מחוברים.
כדי לצמצם את הבעיה הזו, Play ל-ChromeOS מצייר מלבן שקוף למחצה מאחורי כל חלון. לכן, אפליקציות לעולם לא יכולות להיות שקופות ב-100% כשהן פועלות ב-ChromeOS, גם אם משתמשים בנושא Theme.Translucent.NoTitleBar
.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון 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-07-27 (שעון UTC)."],[],[],null,["# App rendering differences on Chromebooks\n\nBecause Android apps run in a window under ChromeOS, there are small\ndifferences in how apps are rendered on Chromebooks. These differences are\noutlined in the following paragraphs.\n\nTasks, windows, and transparency\n--------------------------------\n\nA [task](/guide/components/tasks-and-back-stack)\nconsists of a stack of activities that the user interacts with when running an\napp. Tasks are presented on ChromeOS as a window with a title bar, with the\napps layered on top of each other. Each activity can then be\npartially translucent, letting the lower layers show through.\n\nIn a conventional Android app, the previous task or the desktop shows through beneath the task.\nIn this way, there is always something visible beneath a translucent task.\n\nThis does not work in a window environment, for the following reasons:\n\n- The visible content below a window cannot be controlled, and could therefore be anything.\n- Fully transparent pixels could \"magically\" swallow touch or mouse events.\n- Window elements might visually be disconnected from the caption, confusing the user with possibly unconnected visual elements.\n\nTo mitigate this problem, Play for ChromeOS draws a semitransparent rectangle behind\neach window. For this reason, apps can never be 100 percent transparent\nwhen running under ChromeOS, even when using the `Theme.Translucent.NoTitleBar`\ntheme."]]