公開靜態類別
TermsAndConditionsUIParams.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 setTitleTextSize (int titleTextSize)
設定標題文字的大小。
參數
titleTextSize |
---|
public TermsAndConditionsUIParams.Builder setTitleTypeface (Typeface titleTypeface)
設定標題文字的字體。
參數
titleTypeface |
---|