Skip to main content
Logo Appt Light

Text truncation on Android

Text should never get truncated in your app, even when users have enlarged their font size. Instead, apps should adapt the interface to the available space.

On Android, you can avoid text truncation by removing all instances of android:maxLines from your app. You should also avoid using fixed values for any heights or widths and instead use wrap_content where possible.

    android:text="Avoid text truncation" 
    android:maxLines="REMOVE" />


Let us know!