Skip to content

Commit

Permalink
Document letterSpacing including Android (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
motiz88 authored and charpeni committed Feb 28, 2018
1 parent df5a21f commit ed48544
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,16 @@ Specifies whether fonts should scale to respect Text Size accessibility settings

- **`fontVariant`**: array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums') (_iOS_)

- **`letterSpacing`**: number (_iOS_)
- **`letterSpacing`**: number

Increase or decrease the spacing between characters. The default is 0, for no extra letter spacing.

iOS: The additional space will be rendered after each glyph.

Android: Only supported since Android 5.0 - older versions will ignore this attribute.
Please note that additional space will be added *around* the glyphs (half on each side), which
differs from the iOS rendering. It is possible to emulate the iOS rendering by using layout
attributes, e.g. negative margins, as appropriate for your situation.

- **`textDecorationColor`**: [color](colors.md) (_iOS_)

Expand Down

0 comments on commit ed48544

Please sign in to comment.