Class GCKUIStyle
Mewarisi NSObject.
|
(void) | - applyStyle |
| Memaksa pemuatan ulang semua tampilan yang saat ini terlihat, sehingga setiap perubahan pada gaya akan langsung diterapkan. Lainnya...
|
|
Memaksa pemuatan ulang semua tampilan yang saat ini terlihat, sehingga setiap perubahan pada gaya akan langsung diterapkan.
Root dari hierarki atribut gaya visual.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-02 UTC.
[null,null,["Terakhir diperbarui pada 2023-12-02 UTC."],[[["`GCKUIStyle` is a class used for managing the visual styling of Cast user interface elements."],["It provides a singleton instance accessed via `sharedInstance` for applying styles globally."],["Developers can customize UI elements through the `castViews` property, which represents the root of the styling attributes tree."],["Changes made to styling can be applied immediately to visible views using the `applyStyle` method."]]],["The `GCKUIStyle` class, inheriting from `NSObject`, manages UI styling. Key actions include obtaining a singleton instance via the `sharedInstance` class method and applying style changes immediately using the `applyStyle` instance method to refresh visible views. The `castViews` property, a `GCKUIStyleAttributesCastViews` instance, serves as the root for the styling attributes tree, enabling customization. It was introduced in version 3.3.\n"]]