Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.NativeTemplateTextStyle
Text style options for native templates.
Summary
Properties
BackgroundColor
Color BackgroundColor
FontSize
int FontSize
Size of the Text to be displayed.
TextColor
Color TextColor
Color of the Text to be rendered.
Public functions
NativeTemplateTextStyle
NativeTemplateTextStyle()
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 2024-04-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-18 UTC."],[[["`NativeTemplateTextStyle` provides options for customizing the text style in native templates."],["You can configure properties such as background color, font size, style, and text color."],["This class allows you to control the visual appearance of text elements in your native ads."],["It includes properties like `BackgroundColor`, `FontSize`, `Style`, and `TextColor` to define the text style."]]],["The `NativeTemplateTextStyle` class provides options for customizing the appearance of text in native ad templates. Key properties include `BackgroundColor` and `TextColor` to set the color, `FontSize` to determine the text size, and `Style` to define the font style using `NativeTemplateFontStyle`. It contains a constructor `NativeTemplateTextStyle()`, which is used to create a new instance, but does not require parameters. The class's functionalities are focused on adjusting text attributes in ad displays.\n"]]