Simple UI Mod Dialog for Modders
In this repository there is an Assets
folder, you should move this folder which contains:
about_info.txt
font.ttf
pcover.webp
pprofile.webp
Move all these files into your own app project, you can also edit or replace them.
The smali
folder must be compressed into a zip
.
If you want to use limited dialog, you have to use the following code:
invoke-static/range {p0 .. p0}, Lmeh/vittens/moddialog/ModDialog;->prepare(Landroid/app/Activity;)V
If you want to use unlimited dialog, you have to use the following code:
invoke-static/range {p0 .. p0}, Lmeh/vittens/moddialog/ModDialog;->showCrackerDialog(Landroid/content/Context;)V
Limited Dialog
has the following system:
- A dialog will appear on the first launch of the application.
- This dialog will appear only once, if you have opened the first application then the second time it will not appear again.
Unlimited Dialog
has the following system:
- A dialog will appear on the first launch of the application.
- This dialog will appear repeatedly, if you have opened the first application then the second time it will appear again.
Once you have defined both types of code, you should paste this code into the onCreate
section of any activity such as MainActivity
.
You can develop this project, if the results are not interesting 😉
If you find my work valuable, you can show your support by sponsoring me. Your contribution will help me maintain and improve my projects, and it will encourage me to create more useful content.
If you prefer to donate using cryptocurrency, you can use the following wallet addresses:
Bitcoin: -
Thank you to the following people for their support: