Search in sources :

Example 1 with BounceRightEnter

use of com.flyco.animation.BounceEnter.BounceRightEnter in project FlycoDialog_Master by H07000223.

the class BubblePopupActivity method clickCenterBtn.

@OnClick(R.id.tv_center)
void clickCenterBtn() {
    View inflate = View.inflate(mContext, R.layout.popup_bubble_image, null);
    BubblePopup bubblePopup = new BubblePopup(mContext, inflate);
    bubblePopup.anchorView(mTvCenter).showAnim(new BounceRightEnter()).dismissAnim(new SlideLeftExit()).autoDismiss(true).show();
}
Also used : BubblePopup(com.flyco.dialog.widget.popup.BubblePopup) CustomBubblePopup(com.flyco.dialogsamples.extra.CustomBubblePopup) BounceRightEnter(com.flyco.animation.BounceEnter.BounceRightEnter) ImageView(android.widget.ImageView) TextView(android.widget.TextView) View(android.view.View) SlideLeftExit(com.flyco.animation.SlideExit.SlideLeftExit) OnClick(butterknife.OnClick)

Aggregations

View (android.view.View)1 ImageView (android.widget.ImageView)1 TextView (android.widget.TextView)1 OnClick (butterknife.OnClick)1 BounceRightEnter (com.flyco.animation.BounceEnter.BounceRightEnter)1 SlideLeftExit (com.flyco.animation.SlideExit.SlideLeftExit)1 BubblePopup (com.flyco.dialog.widget.popup.BubblePopup)1 CustomBubblePopup (com.flyco.dialogsamples.extra.CustomBubblePopup)1