クラス ViewGroup
ViewGroup
は、ナビゲーション パネル内のビューの視覚的なグループ化です。
署名
export class ViewGroup
詳細
コンストラクタ
メソッド
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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"]]