How to change app notifications to appear at the bottom of the icon

By Default, the MIUI app notification count appears at the top right of the app icon, but we can change that with a few simple lines of code.

Goal: To change the app notification count location from the top right to the bottom right of the app icon


  • Use Miui 7
  • Tool for complie apk file (apktool or other)
  • Notepad ++
  • Knowledge for compile apk file and xml
  • A full backup of your current system


  • Decompile MiuiHome.apk
  • Find icon_massage.xml on res/layout

you’ll find the script like this:

<?xml version="1.0" encoding="utf-8"?><TextView
android:gravity="center" android:layout_gravity="center|right|top"
android:id="@id/icon_msg" android:visibility="invisible"
android:layout_height="wrap_content" android:maxWidth="@dimen/
icon_message_max_width" android:shadowColor="#ff000000" style="@style
/WorkspaceIconTitle.notification" xmlns:android="http://schemas." />


To make the bubble appear on the top left, change it to this:


To make the bubble appear on the bottom left, change it to this:


To make the bubble appear on the bottom right, change it to this:


  • Save, recompile and sign your apk
  • Push new MiuiHome.apk to your system

That’s it! Now your MIUI app notifications should appear at the bottom of the app icon.

Let us know in the comments if you have any issues with the procedure below.

Have a thought? Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.