From 4fcec0720df782bd8327bf822ade71b3274b4890 Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Sun, 31 Dec 2017 02:03:01 +0000 Subject: [PATCH] Document letterSpacing including Android --- docs/text.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/text.md b/docs/text.md index 2b83a7bcbaf..ee0c2bba8b1 100644 --- a/docs/text.md +++ b/docs/text.md @@ -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_)