Skip to content

Text Scaling Issue where using sp is recommended over dp #1399

Closed
@Areeb455

Description

@Areeb455

Text Scaling Issue
Consider specifying the text size in scaled pixels (sp) instead of density-independent pixels (dp or dip) to improve accessibility and user experience.

Issue Description:
The current text size is defined in dp (density-independent pixels), which does not automatically adjust based on the user's preferred font size settings. This can cause readability issues, especially for users who rely on larger text due to visual impairments.

Recommendation:
To ensure proper text scaling and accessibility, use sp (scaled pixels) instead of dp. The sp unit scales dynamically according to the system-wide font size settings, making the app more user-friendly.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions