Pop up dialog box at the bottom of Android imitation IOS
In the process of Android development, I often feel that the style of Android's built-in dialog is ugly, which will affect the overall effect and make the development process very sad... (the chattering time ends!) in this article, I will introduce an open-source dialog imitation IOS bottom pop-up effect IOS_ Dialog_ Use of library. I'll introduce IOS with a few simple examples_ Dialog_ How to use library.zip.
1、IOS_ Dialog_ Library is an open source dialog framework, so first you have to download IOS_ Dialog_ Library.zip package and introduce your project as a library (the introduction process is omitted). IOS_ Dialog_ Library download address: @ L_ 403_ 0@
2. After the project is created and the IOS is referenced_ Dialog_ After library.zip, start writing code. activity_ main.xml
The above is mainly five buttons, that is, demonstrating five different IOS_ Dialog_ How to use library.
MainActivity.java
Java code is mainly a brief description of IOS_ Dialog_ Five different implementation methods and effects of library. Click events can be written in the comments section.
3. Operation effect diagram
Operation effect figure 1 click "message" diagram 2
Click "picture" effect figure 3 and click "list item" effect figure 4
Click "exit pop-up window" effect figure 5 and click "error prompt window" Figure 6
Source code download address: http://xiazai.jb51.net/201701/yuanma/AndroidshowDialog (jb51.net).rar
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.