CommonButtonProperties

constructor(googleIconColor: Color = Color.Unspecified, googleButtonText: GoogleText = GoogleText.Resource(R.string.button_login_google), googleButtonIconContentDescription: GoogleText = GoogleText.Resource( R.string.default_icon_google_content_description ), googleButtonTextSize: Int = 14, googleIconSize: Int = 18, spaceBetweenIconAndText: Int = 8, textButtonColor: Color = Color.Unspecified, googleIcon: GoogleIcon = GoogleIcon.WithResource(R.drawable.ic_google_button))

Parameters

googleIconColor

Color color of the icon. Default is Color.Unspecified.

googleButtonText

Int resource of string. Default is R.string.button_login_google.

googleButtonTextSize

Int size of text. Default is 14.sp.

googleIconSize

Int. size of the icon. Default is 18.dp.

spaceBetweenIconAndText

Int space between the icon and text. Default is 8.dp.

textButtonColor

Color color of the text. Default is Color.Unspecified.

googleIcon

Int resource of icon if you need use other. Default is R.drawable.ic_google_button.