Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know it is useless to you if you are stuck on an old OS version but IMO Nougat did this right :

- changing the font size is a mess .. I work on UI on a large Android app and it is not trivial to make a design adapt to very large font sizes without sacrificing performances. Most apps don't bother though .. so you end up with mangled text fields.

-Nougat still support font size changes but has also added what I think is a better implementation : variable density. The OS can 'lie' to the framework and the running apps and declare a pixel density different than its natural one.

That way the whole interface gets scaled (since interfaces are designed in density independent pixels).

Works like a charm and won't have any UI glitch because of it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: