public class
TermsAndConditionsUIParams
extensions Object
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 | キャンセル ボタンのテキストの色。 |
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
キャンセル ボタンのテキストの色。ボタンの背景色は透明です。
public final int mainTextColor
利用規約とドライバーの意識向上に関する免責条項のテキストの色。
public final int mainTextTextSize
利用規約とドライバーの認知度に関する免責条項のテキストサイズ。
public final Typeface mainTextTypeface
利用規約およびドライバーの認知度に関する免責条項の書体。
public final int titleColor
タイトルのテキストの色。
public final int titleTextSize
タイトルのテキストサイズ。
public final Typeface titleTypeface
タイトルの書体。
パブリック メソッド
public static TermsAndConditionsUIParams.Builder builder ()
TermsAndConditionsUIParams.Builder
の新しいインスタンスを返します。