TermsAndConditionsUIParams.Builder

公開靜態類別 TermsAndConditionsUIParams.Builder 擴充物件

可協助設定 TermsAndConditionsUIParams 執行個體的建構工具。

公用方法摘要

TermsAndConditionsUIParams
build()
從這個 Builder 中累積的狀態建構 TermsAndConditionsUIParams 物件。
TermsAndConditionsUIParams.Builder
setAcceptButtonTextColor(int acceptButtonTextColor)
設定「接受」按鈕的文字顏色。
TermsAndConditionsUIParams.Builder
setBackgroundColor(int backgroundColor)
設定對話方塊的背景顏色。
TermsAndConditionsUIParams.Builder
setButtonsTextSize(int buttonTextSize)
設定「接受」和「取消」按鈕的文字大小。
TermsAndConditionsUIParams.Builder
setButtonsTypeface(Typeface buttonTypeface)
設定「接受」和「取消」按鈕的字體。
TermsAndConditionsUIParams.Builder
setCancelButtonTextColor(int cancelButtonTextColor)
設定「取消」按鈕的文字顏色。
TermsAndConditionsUIParams.Builder
setMainTextColor(int mainTextColor)
設定「條款」和「駕駛人意識」免責事項的文字顏色。
TermsAndConditionsUIParams.Builder
setMainTextTextSize(int mainTextTextSize)
設定「條款」和「駕駛人意識」免責事項的文字大小。
TermsAndConditionsUIParams.Builder
setMainTextTypeface(Typeface mainTextTypeface)
設定「條款」和「駕駛人意識」免責事項的字體。
TermsAndConditionsUIParams.Builder
setTitleColor(int titleColor)
設定標題文字的顏色。
TermsAndConditionsUIParams.Builder
setTitleTextSize(int titleTextSize)
設定標題文字的大小。
TermsAndConditionsUIParams.Builder
setTitleTypeface(字體 titleTypeface)
設定標題文字的字體。

繼承方法摘要

公用方法

public TermsAndConditionsUIParams build ()

從這個 Builder 中累積的狀態建構 TermsAndConditionsUIParams 物件。

public TermsAndConditionsUIParams.Builder setAcceptButtonTextColor (int acceptButtonTextColor)

設定「接受」按鈕的文字顏色。按鈕的背景顏色為透明。

參數
acceptButtonTextColor

public TermsAndConditionsUIParams.Builder setBackgroundColor (int backgroundColor)

設定對話方塊的背景顏色。

參數
backgroundColor

public TermsAndConditionsUIParams.Builder setButtonsTextSize (int buttonTextSize)

設定「接受」和「取消」按鈕的文字大小。

參數
buttonsTextSize

public TermsAndConditionsUIParams.Builder setButtonsTypeface (Typeface buttonTypeface)

設定「接受」和「取消」按鈕的字體。

參數
buttonsTypeface

public TermsAndConditionsUIParams.Builder setCancelButtonTextColor (int cancelButtonTextColor)

設定「取消」按鈕的文字顏色。按鈕的背景顏色為透明。

參數
cancelButtonTextColor

public TermsAndConditionsUIParams.Builder setMainTextColor (int mainTextColor)

設定「條款」和「駕駛人意識」免責事項的文字顏色。

參數
mainTextColor

public TermsAndConditionsUIParams.Builder setMainTextTextSize (int mainTextTextSize)

設定「條款」和「駕駛人意識」免責事項的文字大小。

參數
mainTextTextSize

public TermsAndConditionsUIParams.Builder setMainTextTypeface (Typeface mainTextTypeface)

設定「條款」和「駕駛人意識」免責事項的字體。

參數
mainTextTypeface

public TermsAndConditionsUIParams.Builder setTitleColor (int titleColor)

設定標題文字的顏色。

參數
titleColor

public TermsAndConditionsUIParams.Builder setTitleTextSize (int titleTextSize)

設定標題文字的大小。

參數
titleTextSize

public TermsAndConditionsUIParams.Builder setTitleTypeface (Typeface titleTypeface)

設定標題文字的字體。

參數
titleTypeface