public class TermsAndConditionsUIParams
扩展对象
一个不可变类,表示用于自定义 TermsAndConditionsDialog 外观和风格的参数。
如果未设置此政策,这些参数将默认采用以下值:
- 背景颜色:白色。
- 标题颜色:黑色。
- 标题字体:
Typeface.DEFAULT
。 - 标题文字大小:20。
- 主文本颜色:黑色。
- 主要文本字体:
Typeface.DEFAULT
。 - 主要文字大小:20。
- 按钮字体:
Typeface.DEFAULT
。 - 按钮文字大小:20。
- 接受按钮文字颜色:黑色。
- “取消”按钮文字颜色:黑色。
嵌套类摘要
类 | TermsAndConditionsUIParams.Builder | 有助于配置 TermsAndConditionsUIParams 实例的构建器。 |
字段摘要
public final int | acceptButtonTextColor | “接受”按钮的文字颜色。 |
public final int | backgroundColor | 对话框的背景颜色。 |
public final int | buttonsTextSize | “接受”和“取消”按钮的文字大小。 |
public final Typeface | buttonsTypeface | “接受”和“取消”按钮的字体。 |
public final int | cancelButtonTextColor | “Cancel”按钮的文字颜色。 |
public final int | mainTextColor | 条款和驾驶员须知免责声明的文字颜色。 |
public final int | mainTextTextSize | 条款和驾照免责声明的文字大小。 |
public final Typeface | mainTextTypeface | 条款和驾驶员感知免责声明的字体。 |
public final int | titleColor | 标题的文字颜色。 |
public final int | titleTextSize | 标题的文字大小。 |
public final Typeface | titleTypeface | 标题的字体。 |
公共方法摘要
static TermsAndConditionsUIParams.Builder |
builder()
返回
TermsAndConditionsUIParams.Builder 的新实例。 |
继承的方法摘要
字段
public final int acceptButtonTextColor
“接受”按钮的文字颜色。按钮的背景颜色是透明的。
public final int backgroundColor
对话框的背景颜色。
public final int buttonsTextSize
“接受”和“取消”按钮的文字大小。
public final Typeface buttonsTypeface
“接受”和“取消”按钮的字体。
public final int cancelButtonTextColor
“Cancel”按钮的文字颜色。按钮的背景颜色是透明的。
public final int mainTextColor
条款和驾驶员须知免责声明的文字颜色。
public final int mainTextTextSize
条款和驾照免责声明的文字大小。
public final Typeface mainTextTypeface
条款和驾驶员感知免责声明的字体。
public final int titleColor
标题的文字颜色。
public final int titleTextSize
标题的文字大小。
public final 字体 titleTypeface
标题的字体。
公共方法
public static TermsAndConditionsUIParams.Builder builder ()
返回 TermsAndConditionsUIParams.Builder
的新实例。