# Text resizing in iOS and Android

DevFeed: [Text resizing in iOS and Android](<https://devfeed.tech/articles/text-resizing-in-ios-and-android-9415.md>)

Original publisher: [Read original article](<https://a11yproject.com/posts/text-resizing-in-ios-and-android/>)

Author: Lucia Cerchie

Published: 2021-01-28T00:00:00Z

Content type: article

Language: en

Sources: [The A11Y Project](<https://devfeed.tech/sources/the-a11y-project.md>)

Topics: [Accessibility](<https://devfeed.tech/topics/accessibility.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [App](<https://devfeed.tech/topics/app.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [CSS](<https://devfeed.tech/topics/css.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [css](<https://devfeed.tech/tags/css.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [html](<https://devfeed.tech/tags/html.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>), [zoom](<https://devfeed.tech/tags/zoom.md>)

## AI overview

This article explains how to support text resizing and zooming for accessibility in iOS and Android apps. It covers iOS Dynamic Type, Android scale-independent pixels, minimum body-text sizes, scrollable containers, and responsive HTML using relative units.

## Source excerpt

When you're designing for mobile, it's important to remember that some people will need to change the size of the content to read it easily. There are so many ways to view content on mobile devices, from zooming in to orienting the screen differently, so a failure to design in a dynamic environment can lead to accessibility issues. There are different ways you can attend to this, whether you're writing an app for iOS or Android. Considerations for iOS In iOS, users can use Full Screen Zoom or Window Zoom to magnify parts of the screen. To allow them to resize the type, use dynamic type, which enables your app's type to be resized. If you manually limit how large your text scales it may cause issues for people who need a bigger font. You want the text to scale dynamically instead of stopping at the point you set, because that size may still not be visible to all people. Minimum font-size for body text should be 17pt. Considerations for Android You can use a tool called the Android Emulator to preview how your app works in the context of different android devices. This can help you stay aware of how people who use different types of androids experience your app. Again, users can only zoom in on specified areas, so you'll need to use scale-independent pixels to determine the size of your text. There isn't a tool like Dynamic Type in Android, so you'll need to scale the text at different sizes yourself. Material design has a resource that makes a good starting point. Minimum font-size for body text should be 16sp: android: textSize=16sp You'll also want to remember to make your content container scrollable. If it's not, you'll just cut off the extra content when a person zooms in. Also consider that apps may contain HTML views. There are a couple things to keep in mind here for accessibility as well. HTML In your HTML, make sure to use relative units for responsive design. Here's a resource from The CSS Layout Workshop for applying them to your HTML via CSS. If you don'