Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android]the Textattri letterSpacing is neverworked #10622

Closed
aqnaruto opened this issue Oct 29, 2016 · 5 comments
Closed

[android]the Textattri letterSpacing is neverworked #10622

aqnaruto opened this issue Oct 29, 2016 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@aqnaruto
Copy link

image
here is source code ,i just add a letterSpacing attribute

/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';

export default class AwesomeProject extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Text style={styles.welcome}>
          Welcome to React Native!
        </Text>
        <Text style={styles.instructions}>
          To get started, edit index.android.js
        </Text>
        <Text style={styles.instructions}>
          Double tap R on your keyboard to reload,{'\n'}
          Shake or press menu button for dev menu
        </Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
    letterSpacing:3333
  },
});

AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject);

using rn version 3.6 ,android platform.
this atrri is worked on rn offical website,but not worked on real device ,so this is a bug definitely

@leeight
Copy link
Contributor

leeight commented Oct 29, 2016

letterSpacing has not landed on Android: #9420

@aqnaruto
Copy link
Author

thanks @leeight

@nihgwu
Copy link
Contributor

nihgwu commented Oct 29, 2016

so why not just close this one?

@aqnaruto
Copy link
Author

close #10622

@christoph-jerolimov
Copy link
Contributor

See also #13199

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants