简体   繁体   中英

How to enable image_Button to animate and open a pop to confirm “EXIT”?

Beginner on androidDevelopment!

I need help in making of imageButton to animate on clickResponse , and open a pop-up to confirm Exit.

I think you should implement OnclickListener to the image button and than open a dialog. You can add animations to a dialog like this

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM