There are a few things you can try. First, check your Developer Options and ensure both settings are turned on correctly. If that doesn’t work, you can try adjusting system settings using the SetEdit app. Install SetEdit, locate the deviceLevelList entry, change its value to v:1,c:3,g:3, and restart your phone.
Another method is using Shizuku and Settings Database Editor to modify the same setting. Be cautious when making these changes, as modifying system settings can affect device stability.
If you’re unsure, consider backing up your data or seeking help from Xiaomi forums. For a step-by-step guide, you can also check out videos like "Enable App Opening/Closing Animations on Any Xiaomi, Redmi, and POCO Device Without Root."