クラス ViewGroup
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ViewGroup
は、ナビゲーション パネルのビューの視覚的なグループです。
署名
export class ViewGroup
詳細
コンストラクタ
メソッド
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Class ViewGroup\n\nA `ViewGroup` is a visual grouping of views in the navigation pane.\n\nSignature\n---------\n\n export class ViewGroup\n\nDetails\n-------\n\n| Final | No |\n|-------|----|\n\nConstructors\n------------\n\n| Name | Description |\n|---------------------------------------------------------------|----------------------------------------------------|\n| [`(constructor)(viewOrId)`](./picker.viewgroup._constructor_) | Constructs a new instance of the `ViewGroup` class |\n\nMethods\n-------\n\n| Name | Description |\n|--------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [`addLabel(label)`](./picker.viewgroup.addlabel) | Add a label to this `ViewGroup`. |\n| [`addView(viewOrId)`](./picker.viewgroup.addview) | Add a view to the `ViewGroup`. The view can be represented by a view-derived object, or simply by `ViewId`. |\n| [`addViewGroup(viewGroup)`](./picker.viewgroup.addviewgroup) | Nest a `ViewGroup` within the current `ViewGroup`. |"]]