Skip to content

Android uses different types of logical pixels for font sizes than for view layouts #5873

@DaveShuckerow

Description

@DaveShuckerow

https://developer.android.com/guide/topics/resources/more-resources.html#Dimension

In Android, view layout sizes are given in density-independent pixels (dp) while font sizes are given in scale-independent pixels (sp). The difference between the two appears to be that sp are sensitive to accessibility settings for font size, while dp are not.

Does Flutter respect system accessibility settings like this when it's applying layout measurements to a view versus text?

Metadata

Metadata

Assignees

Labels

a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: new featureNothing broken; request for a new capability

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions