Current location - Quotes Website - Signature design - How to modify the bubble style of Android SMS
How to modify the bubble style of Android SMS
First, use the Re file manager to find the SMS program of the mobile phone system in /system/app. It should be noted here that the names of SMS programs in different Roms are different, and some even merge with contacts and telephones into one program. The Android native system is Mms.apk, the Le Frog system is PIM.apk, and the short message program of my Baidu Cloud Rom is contained in this Contacts.apk, copied to the SD card and copied to the computer.

Open the unzipped folder and enter the /res/drawable-hdpi/ folder. This folder usually stores some pictures of programs, so you can see many pictures, including the material of dial and keyboard, etc. What we need to do is to find the short message bubble material of the short message program, as shown below (if it is not found, it means that you have not found the correct short message program or the program containing short messages):

Rename the SMS bubble material extracted by other Android programs (the bubble material I demonstrated is extracted to WeChat, and the extraction method is to find it by the decompressor) to be consistent with the bubble to be replaced, as shown below. Generally, there are two short message bubbles when sending and receiving short messages, one is to display the content of the short message, and the other is displayed when pressing the short message for a long time (generally darker in color), and both of them are renamed accordingly:

Then copy and paste to replace the short message bubble material of the original program. After the replacement, repackage the file into a zip file and change its suffix to. apk:

Then copy it to the SD card of the mobile phone to replace the program of the original system, and pop up whether to mount and read or replace the existing file. We can choose "Yes":

Finally, don't forget to modify the permissions of the program to make it consistent, and then restart the phone, you can find that the material of the SMS bubble has been replaced by the style in the WeChat program.

It should be noted that since it is a program that replaces the system, it does not need to be re-signed. If we modify third-party programs, we need to re-sign them before they can be used normally (but some programs can't pass the official verification after re-signing, such as QQ, so it is not recommended to modify these programs). The signature tool is recommended to use the APK+Dex file decompilation and recompilation tool (APKDB).