ViewGroup 클래스
ViewGroup
은 탐색 창에서 뷰를 시각적으로 그룹화한 것입니다.
서명
export class ViewGroup
세부정보
생성자
메서드
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-08(UTC)
[null,null,["최종 업데이트: 2024-11-08(UTC)"],[[["`ViewGroup` organizes views visually within the navigation pane for better structure."],["It can contain labels, individual views, or even nested `ViewGroup` objects for hierarchical organization."],["Developers can easily add elements using methods like `addLabel`, `addView`, and `addViewGroup`."]]],["`ViewGroup` is a class for visually grouping views in a navigation pane. It can be constructed with a view or an ID. Key actions include adding a label via `addLabel`, adding a view using `addView` (accepting either a view object or `ViewId`), and nesting another `ViewGroup` within it using `addViewGroup`. It cannot be inherited as it is a final class.\n"]]