TermsAndConditionsUIParams.Builder

public static class TermsAndConditionsUIParams.Builder extends Object

A builder that helps to configure an instance of TermsAndConditionsUIParams.

Public Method Summary

TermsAndConditionsUIParams
build()
Builds the TermsAndConditionsUIParams object from the state accumulated in this Builder.
TermsAndConditionsUIParams.Builder
setAcceptButtonTextColor(int acceptButtonTextColor)
Sets the text color of the Accept button.
TermsAndConditionsUIParams.Builder
setBackgroundColor(int backgroundColor)
Sets the background color of the dialog box.
TermsAndConditionsUIParams.Builder
setButtonsTextSize(int buttonsTextSize)
Sets the text size of the Accept and Cancel buttons.
TermsAndConditionsUIParams.Builder
setButtonsTypeface(Typeface buttonsTypeface)
Sets the typeface of the Accept and Cancel buttons.
TermsAndConditionsUIParams.Builder
setCancelButtonTextColor(int cancelButtonTextColor)
Sets the text color of the Cancel button.
TermsAndConditionsUIParams.Builder
setMainTextColor(int mainTextColor)
Sets the text color of Terms and Driver's Awareness disclaimer.
TermsAndConditionsUIParams.Builder
setMainTextTextSize(int mainTextTextSize)
Sets the text size of the Terms and Driver's Awareness disclaimer.
TermsAndConditionsUIParams.Builder
setMainTextTypeface(Typeface mainTextTypeface)
Sets the typeface of the Terms and Driver's Awareness disclaimer.
TermsAndConditionsUIParams.Builder
setTitleColor(int titleColor)
Sets the color the title text.
TermsAndConditionsUIParams.Builder
setTitleTextSize(int titleTextSize)
Sets the size of the title text.
TermsAndConditionsUIParams.Builder
setTitleTypeface(Typeface titleTypeface)
Sets the typeface of the title text.

Inherited Method Summary

Public Methods

public TermsAndConditionsUIParams build ()

Builds the TermsAndConditionsUIParams object from the state accumulated in this Builder.

public TermsAndConditionsUIParams.Builder setAcceptButtonTextColor (int acceptButtonTextColor)

Sets the text color of the Accept button. The background color of the button is transparent.

Parameters
acceptButtonTextColor

public TermsAndConditionsUIParams.Builder setBackgroundColor (int backgroundColor)

Sets the background color of the dialog box.

Parameters
backgroundColor

public TermsAndConditionsUIParams.Builder setButtonsTextSize (int buttonsTextSize)

Sets the text size of the Accept and Cancel buttons.

Parameters
buttonsTextSize

public TermsAndConditionsUIParams.Builder setButtonsTypeface (Typeface buttonsTypeface)

Sets the typeface of the Accept and Cancel buttons.

Parameters
buttonsTypeface

public TermsAndConditionsUIParams.Builder setCancelButtonTextColor (int cancelButtonTextColor)

Sets the text color of the Cancel button. The background color of the button is transparent.

Parameters
cancelButtonTextColor

public TermsAndConditionsUIParams.Builder setMainTextColor (int mainTextColor)

Sets the text color of Terms and Driver's Awareness disclaimer.

Parameters
mainTextColor

public TermsAndConditionsUIParams.Builder setMainTextTextSize (int mainTextTextSize)

Sets the text size of the Terms and Driver's Awareness disclaimer.

Parameters
mainTextTextSize

public TermsAndConditionsUIParams.Builder setMainTextTypeface (Typeface mainTextTypeface)

Sets the typeface of the Terms and Driver's Awareness disclaimer.

Parameters
mainTextTypeface

public TermsAndConditionsUIParams.Builder setTitleColor (int titleColor)

Sets the color the title text.

Parameters
titleColor

public TermsAndConditionsUIParams.Builder setTitleTextSize (int titleTextSize)

Sets the size of the title text.

Parameters
titleTextSize

public TermsAndConditionsUIParams.Builder setTitleTypeface (Typeface titleTypeface)

Sets the typeface of the title text.

Parameters
titleTypeface