TtToastContainer
A container for TtToasts, used when calling TtToast.show.
Parameters
The display context.
The attribute set provided in the layout XML file.
The default style attribute set. The default value is R.attr.tt_toastcontainer_style
.
Constructors
Properties
Animation to play when a toast is added to this container.
Animation to show when a toast is removed from this container.
The bottom margin of the toast to be be displayed. To set this based on the position of another view, see the setToastMarginReference binding adapter.
The left margin of the toast to be be displayed. To set this based on the position of another view, see the setToastMarginReference binding adapter.
The right margin of the toast to be be displayed. To set this based on the position of another view, see the setToastMarginReference binding adapter.
The top margin of the toast to be be displayed. To set this based on the position of another view, see the setToastMarginReference binding adapter.
The maximum width in pixels of the toast to be be displayed.