Add picture function to the default dialog box of Android system
•
Android
Development tools Android studio
Today, the company's UI requires that the software dialog box be changed to add pictures, which has not been done before, so I studied it and didn't talk much nonsense,
See the effect:
Create XML file dialog_ lsit_ item.xml
Note: the display name of the payment method line - the variables in the closing dialog box are written by me. You can annotate the toast when you use it. Because I only intercepted part of the company's software to illustrate this effect, I won't go to the source file. Thank you! If you have any questions, you can confide in me!
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码