Skip navigation links
B C D G H M O S V 

B

Banner - Class in com.sergivonavi.materialbanner
A banner displays an important, succinct message, and provides actions for users to address (or dismiss the banner).
Banner(Context) - Constructor for class com.sergivonavi.materialbanner.Banner
 
Banner(Context, AttributeSet) - Constructor for class com.sergivonavi.materialbanner.Banner
 
Banner(Context, AttributeSet, int) - Constructor for class com.sergivonavi.materialbanner.Banner
 
Banner.Builder - Class in com.sergivonavi.materialbanner
 
BannerInterface - Interface in com.sergivonavi.materialbanner
 
BannerInterface.OnClickListener - Interface in com.sergivonavi.materialbanner
Interface used to allow the creator of a banner to run some code when a button in the banner is clicked.
BannerInterface.OnDismissListener - Interface in com.sergivonavi.materialbanner
Interface used to allow the creator of a banner to run some code when the banner is dismissed.
BannerInterface.OnShowListener - Interface in com.sergivonavi.materialbanner
Interface used to allow the creator of a banner to run some code when the banner is shown.
Builder(Context) - Constructor for class com.sergivonavi.materialbanner.Banner.Builder
Creates a builder for a banner that uses the default banner style (either specified in the app theme or in this library).
Builder(Context, int) - Constructor for class com.sergivonavi.materialbanner.Banner.Builder
Creates a builder for a banner that uses an explicit style resource.
ButtonsContainer - Class in com.sergivonavi.materialbanner.internal
 
ButtonsContainer(Context) - Constructor for class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
ButtonsContainer(Context, AttributeSet) - Constructor for class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
ButtonsContainer(Context, AttributeSet, int) - Constructor for class com.sergivonavi.materialbanner.internal.ButtonsContainer
 

C

checkLayoutParams(ViewGroup.LayoutParams) - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
com.sergivonavi.materialbanner - package com.sergivonavi.materialbanner
 
com.sergivonavi.materialbanner.internal - package com.sergivonavi.materialbanner.internal
 
create() - Method in class com.sergivonavi.materialbanner.Banner.Builder
Creates a Banner with the arguments supplied to this builder.

D

dismiss() - Method in class com.sergivonavi.materialbanner.Banner
Dismisses the Banner with the animation.
dismiss(long) - Method in class com.sergivonavi.materialbanner.Banner
Dismisses the Banner with the animation after the specified delay in milliseconds.
dismiss() - Method in interface com.sergivonavi.materialbanner.BannerInterface
Dismisses the banner.
dismiss(long) - Method in interface com.sergivonavi.materialbanner.BannerInterface
Dismisses the banner after the specified delay in milliseconds.

G

generateDefaultLayoutParams() - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
generateLayoutParams(AttributeSet) - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
generateLayoutParams(ViewGroup.LayoutParams) - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
getBaseline() - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
Returns the baseline of the left button if it's not hidden or the baseline of the right button.
getBaseline() - Method in class com.sergivonavi.materialbanner.internal.MessageView
Return the offset of the widget's last text line baseline from the widget's top boundary.
getLeftButton() - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
getOrientation() - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
Returns the current orientation.
getRightButton() - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 

H

HORIZONTAL - Static variable in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 

M

MessageView - Class in com.sergivonavi.materialbanner.internal
 
MessageView(Context) - Constructor for class com.sergivonavi.materialbanner.internal.MessageView
 
MessageView(Context, AttributeSet) - Constructor for class com.sergivonavi.materialbanner.internal.MessageView
 
MessageView(Context, AttributeSet, int) - Constructor for class com.sergivonavi.materialbanner.internal.MessageView
 

O

onClick(BannerInterface) - Method in interface com.sergivonavi.materialbanner.BannerInterface.OnClickListener
This method will be invoked when a button in the banner is clicked.
onDismiss() - Method in interface com.sergivonavi.materialbanner.BannerInterface.OnDismissListener
This method will be invoked when the banner is dismissed.
onLayout(boolean, int, int, int, int) - Method in class com.sergivonavi.materialbanner.Banner
 
onLayout(boolean, int, int, int, int) - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
onMeasure(int, int) - Method in class com.sergivonavi.materialbanner.Banner
 
onMeasure(int, int) - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
onRestoreInstanceState(Parcelable) - Method in class com.sergivonavi.materialbanner.Banner
 
onSaveInstanceState() - Method in class com.sergivonavi.materialbanner.Banner
 
onShow() - Method in interface com.sergivonavi.materialbanner.BannerInterface.OnShowListener
This method will be invoked when the banner is shown.

S

setBannerVisibility(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the visibility state of this banner.
setButtonsRippleColor(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the ripple color for both buttons.
setButtonsTextAppearance(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the text appearance of buttons' text from the specified style resource.
setButtonsTextColor(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the text color of both buttons.
setContentPaddingEnd(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets a content end padding.
setContentPaddingEndPx(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets a content end padding.
setContentPaddingStart(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets a content start padding.
setContentPaddingStartPx(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets a content start padding.
setIcon(int) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the Drawable to be used in the banner.
setIcon(Drawable) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the resource id of the Drawable to be used in the banner.
setIcon(Drawable) - Method in class com.sergivonavi.materialbanner.Banner
Sets the icon to display in the banner.
setIcon(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the icon to display in the banner.
setIconTintColor(int) - Method in class com.sergivonavi.materialbanner.Banner
Applies a tint to the icon.
setId(int) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the identifier for this banner.
setLeftButton(int, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets a listener to be invoked when the left button of the banner is pressed.
setLeftButton(String, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets a listener to be invoked when the left button of the banner is pressed.
setLeftButton(String, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the left button of the banner is pressed.
setLeftButton(int, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the left button of the banner is pressed.
setLeftButtonListener(BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the left button of the banner is pressed.
setLineColor(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the line color.
setLineOpacity(float) - Method in class com.sergivonavi.materialbanner.Banner
Sets the opacity of the line to a value from 0 to 1, where 0 means the line is completely transparent and 1 means the line is completely opaque.
setMessage(int) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the message to display in the banner using the given resource id.
setMessage(String) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the message to display in the banner.
setMessage(String) - Method in class com.sergivonavi.materialbanner.Banner
Sets the message to display in the banner.
setMessage(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the message to display in the banner using the given resource id.
setMessageTextAppearance(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the text appearance of a message from the specified style resource.
setMessageTextColor(int) - Method in class com.sergivonavi.materialbanner.Banner
Sets the text color of a message.
setOnDismissListener(BannerInterface.OnDismissListener) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets a listener to be invoked when the banner is dismissed.
setOnDismissListener(BannerInterface.OnDismissListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the banner is dismissed.
setOnShowListener(BannerInterface.OnShowListener) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets a listener to be invoked when the banner is shown.
setOnShowListener(BannerInterface.OnShowListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the banner is shown.
setOrientation(int) - Method in class com.sergivonavi.materialbanner.internal.ButtonsContainer
Should the layout be a column or a row.
setParent(ViewGroup) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the ViewGroup that will be a parent view for this banner.
setParent(ViewGroup, int) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the ViewGroup that will be a parent view for this banner and specify banner's index in the parent view.
setParent(ViewGroup, int, ViewGroup.LayoutParams) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets the ViewGroup that will be a parent view for this banner and specify banner's index in the parent view.
setRightButton(int, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets a listener to be invoked when the right button of the banner is pressed.
setRightButton(String, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner.Builder
Sets a listener to be invoked when the right button of the banner is pressed.
setRightButton(String, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the right button of the banner is pressed.
setRightButton(int, BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the right button of the banner is pressed.
setRightButtonListener(BannerInterface.OnClickListener) - Method in class com.sergivonavi.materialbanner.Banner
Sets a listener to be invoked when the right button of the banner is pressed.
setVisibility(int) - Method in class com.sergivonavi.materialbanner.Banner
Note: this will not trigger BannerInterface.OnShowListener and BannerInterface.OnDismissListener callbacks.
show() - Method in class com.sergivonavi.materialbanner.Banner.Builder
Creates a Banner with the arguments supplied to this builder and immediately displays the banner.
show() - Method in class com.sergivonavi.materialbanner.Banner
Shows the Banner with the animation.
show(long) - Method in class com.sergivonavi.materialbanner.Banner
Shows the Banner with the animation after the specified delay in milliseconds.

V

VERTICAL - Static variable in class com.sergivonavi.materialbanner.internal.ButtonsContainer
 
B C D G H M O S V 
Skip navigation links