Methode ViewGroup.addViewGroup
Verschachtele eine ViewGroup
innerhalb des aktuellen ViewGroup
.
Unterschrift
addViewGroup(viewGroup: ViewGroup): ViewGroup;
Details
Optional |
Nein |
Finale |
Nein |
Geschützt |
Nein |
Statisch |
Nein |
Parameter
Name |
Typ |
Optional |
Beschreibung |
viewGroup |
ViewGroup |
Nein |
|
Gibt Folgendes zurück:
ViewGroup
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-08 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-08 (UTC)."],[[["The `addViewGroup` method allows you to nest a `ViewGroup` element within another, existing `ViewGroup`."],["This method is a non-static, non-final, and non-protected instance method, providing flexibility in implementation."],["It accepts one required parameter, `viewGroup`, of type `ViewGroup`, representing the `ViewGroup` to be nested."],["Upon successful execution, it returns the modified parent `ViewGroup` object."]]],[]]