Chromebook 앱 렌더링 차이
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 앱은 ChromeOS의 창에서 실행되므로 앱이 Chromebook에서 렌더링되는 방식에 약간의 차이가 있습니다. 이러한 차이점은 다음 단락에 설명되어 있습니다.
작업, 창 및 투명도
작업은 사용자가 앱을 실행할 때 상호작용하는 활동의 스택으로 구성됩니다. 작업은 ChromeOS에 제목 표시줄이 있는 창으로 표시되며 앱이 서로 겹쳐져 있습니다. 그러면 각 활동이 부분적으로 반투명하여 하위 레이어가 보이도록 할 수 있습니다.
기존 Android 앱에서는 이전 작업 또는 바탕화면이 작업 아래에 표시됩니다.
이런 식으로, 항상 반투명 작업 아래에 표시되는 항목이 있습니다.
다음과 같은 이유로 창 환경에서는 작동하지 않습니다.
- 창 아래에 표시되는 콘텐츠는 제어할 수 없으므로 무엇이든 될 수 있습니다.
- 완전히 투명한 픽셀은 터치 또는 마우스 이벤트를 '마법처럼' 삼킬 수 있습니다.
- 시각적으로 창 요소와 자막의 연결이 해제되어 사용자가 연결되지 않은 시각적 요소와 혼동할 수 있습니다.
이 문제를 완화하기 위해 ChromeOS용 Play에서는 각 창 뒤에 반투명 직사각형을 그립니다. 따라서 Theme.Translucent.NoTitleBar
테마를 사용하더라도 ChromeOS에서 실행될 때 앱이 100% 투명해질 수는 없습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 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."]]