SnackBarOption

data class SnackBarOption(val animMode: Int? = null, val bgTint: Int? = null, val bgTintStateList: ColorStateList? = null, val textColor: Int? = null, val textColorStateList: ColorStateList? = null, val isGestureInsetBottomIgnored: Boolean? = null, val actionTextColor: Int? = null, val actionTextColorStateList: ColorStateList? = null, val actionText: CharSequence? = null, val action: (View) -> Unit? = null)

Configuration options for customizing SnackBar appearance and behavior.

SnackBar 외관과 동작을 커스터마이징하기 위한 설정 옵션입니다.

Constructors

Link copied to clipboard
constructor(animMode: Int? = null, bgTint: Int? = null, bgTintStateList: ColorStateList? = null, textColor: Int? = null, textColorStateList: ColorStateList? = null, isGestureInsetBottomIgnored: Boolean? = null, actionTextColor: Int? = null, actionTextColorStateList: ColorStateList? = null, actionText: CharSequence? = null, action: (View) -> Unit? = null)

Properties

Link copied to clipboard
val action: (View) -> Unit?

Callback to invoke when the action button is clicked.

액션 버튼 클릭 시 실행할 콜백.

Link copied to clipboard

Text to display on the action button.

액션 버튼에 표시할 텍스트.

Link copied to clipboard

Action button text color (as color integer).

액션 버튼 텍스트 색상 (색상 정수값).

Link copied to clipboard

Action button text color as ColorStateList.

ColorStateList로 표현된 액션 버튼 텍스트 색상.

Link copied to clipboard

Animation mode for the SnackBar.

SnackBar의 애니메이션 모드.

Link copied to clipboard
val bgTint: Int?

Background tint color (as color integer).

배경 색조 색상 (색상 정수값).

Link copied to clipboard

Background tint color as ColorStateList.

ColorStateList로 표현된 배경 색조 색상.

Link copied to clipboard

Whether to ignore bottom gesture insets.

하단 제스처 인셋을 무시할지 여부.

Link copied to clipboard

Text color (as color integer).

텍스트 색상 (색상 정수값).

Link copied to clipboard

Text color as ColorStateList.

ColorStateList로 표현된 텍스트 색상.