如何无障碍影响iOS和Android字体大小? [英] How accessibility affect font sizes in iOS and Android?

查看:214
本文介绍了如何无障碍影响iOS和Android字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的设计排版针对移动应用的设计师。
我有一个关于如何辅助功能会影响字体大小的问题。

I am a designer trying to design my typography for mobile apps. I have a question regarding how "accessibility" will affect the font sizes.

由于在Android中,可以将字体大小规模变化从微小到巨大的。
默认情况下它是小。

As in Android, you can change the font size scale from tiny to huge. By default it is "Small".

由于我玩的字体大小,在我看来,一个应用程序中的某些字体大小会发生变化,有些则不会。我怎样才能知道哪些字体将辅助功能受到影响,哪些不会?

As I play around with the font size, it seems to me that some font sizes within an app will change and some will not. How can I tell which font will be affected by accessibility and which will not?

相似到iOS,以及,如何无障碍影响字体大小?

Similar to iOS as well, how well accessibility affect the font sizes?

推荐答案

您可以使用DP为固定的像素字体大小或SP在Android的动态字体大小。
例如:

You can use dp for fixed pixel font sizes or sp for dynamic font sizes in Android. E.g.:

android:textSize="26sp" 

android:textSize="26dp"

用户preferences会影响到第一个。第二个没有。

User preferences will affect the first one. The second one not.

<一个href=\"http://$c$c.tutsplus.com/tutorials/android-user-interface-design-basic-font-sizes--mobile-11194\"相对=nofollow>一个很好的概述

这篇关于如何无障碍影响iOS和Android字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆