The original font unit SP,SP (pixels independent of density and font scaling): Similar to DP, but can be scaled based on the user's font size preference. When the user's font settings are magnified, problems such as cloaking can occur.
Solution One:
Automatically adapts, does not set the height and so on information. This makes the development and maintenance of the program more difficult! Because the implementation of who can not predict the size, local to the bottom of the alignment, resulting in the interface layout is very troublesome, need to be obtained during the program run. Multiple alignments will be processed multiple times!
Solution Two:
After testing the discovery system and some applications using the Font unit SP, there are some software using DP, you can change the font configuration, the size is still unchanged.
App with SP: all Android system applications, Baidu Input method, Huawei File Manager, etc.
DP-based: UC browser, super curriculum.
The above software is taken from a mobile phone.
Solution Three:
Bring your own fonts
Android to set a large font after the text is obscured, display complete problem resolution