Kotlin implements the function of pop-up window with TextView (click to cancel) from the top

Implementation:

Project:

Reminder : There are many different pop-ups in the library of third-party projects: pop-ups from the top, pop-ups from the bottom, free positioning pop-ups, custom full-screen pop-ups, display rotating pop-ups (animation)... , suitable for work, you want What kind of pop-up window can be changed can be directly taken in the library of this project, which is convenient. After subscribing, CSDN privately chats with me, and I will send it to the third-party project library

Import dependency packages:

implementation 'com.blankj:utilcode:1.30.6

Guess you like

Origin blog.csdn.net/qq_35091074/article/details/126611241