public interface ToastNotificationConfiguration
Modifier and Type | Method and Description |
---|---|
int |
getGravity() |
int |
getLayout()
The ID of the layout to be used with the Toast Notification.
|
int |
getXOffset() |
int |
getYOffset() |
void |
setGravity(int gravity) |
void |
setLayout(int layoutId)
Sets the ID of the layout to be used with the Toast Notification.
|
void |
setXOffset(int xOffset) |
void |
setYOffset(int yOffset) |
int getLayout()
setLayout(int)
void setLayout(int layoutId)
imageView
- an ImageView
that will get the Badge or Level imageobjectName
- a TextView
that will get the name of the Badge or LevelpointsWon
- a TextView
that will get the number of points won from the Badge or LevelgetLayout()
int getGravity()
void setGravity(int gravity)
int getXOffset()
void setXOffset(int xOffset)
int getYOffset()
void setYOffset(int yOffset)