Method ViewGroup.addViewGroup
Stay organized with collections
Save and categorize content based on your preferences.
Nest a ViewGroup
within the current ViewGroup
.
Signature
addViewGroup(viewGroup: ViewGroup): ViewGroup;
Details
Optional |
No |
Final |
No |
Protected |
No |
Static |
No |
Parameters
Name |
Type |
Optional |
Description |
viewGroup |
ViewGroup |
No |
|
Returns
ViewGroup
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-20 UTC.
[null,null,["Last updated 2025-06-20 UTC."],[],[],null,["# Method ViewGroup.addViewGroup\n\nNest a `ViewGroup` within the current `ViewGroup`.\n\nSignature\n---------\n\n addViewGroup(viewGroup: ViewGroup): ViewGroup;\n\nDetails\n-------\n\n| Optional | No |\n| Final | No |\n| Protected | No |\n| Static | No |\n|-----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|-------------|---------------------------------|----------|-------------|\n| `viewGroup` | [ViewGroup](./picker.viewgroup) | No | |\n\nReturns\n-------\n\n[ViewGroup](./picker.viewgroup)"]]