メソッド ViewGroup.addLabel
この ViewGroup
にラベルを追加します。
署名
addLabel(label: string): ViewGroup;
詳細
省略可 |
いいえ |
決勝 |
いいえ |
保護 |
いいえ |
静的 |
いいえ |
パラメータ
名前 |
Type |
省略可能 |
説明 |
label |
string |
いいえ |
|
戻り値
ViewGroup
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["The `addLabel()` method allows you to add a label to a `ViewGroup`."],["This method is a non-optional, non-final, non-protected, and non-static instance method."],["It accepts one mandatory parameter: `label`, which is a string."],["It returns the `ViewGroup` instance it's called on."]]],["The `addLabel` method adds a label to a `ViewGroup`. It accepts a single parameter, `label`, which is a required string. This method is neither optional, final, protected, nor static. It returns the modified `ViewGroup` itself, allowing for method chaining. The `label` parameter's description is empty, implying the label's value is directly provided by the string argument.\n"]]