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

Switch looks cut #5

Open
avishayil opened this issue Dec 31, 2015 · 3 comments
Open

Switch looks cut #5

avishayil opened this issue Dec 31, 2015 · 3 comments

Comments

@avishayil
Copy link

screenshot_2015-12-31-18-26-45

var NotificationSettings = React.createClass({
  render(){
    return (
      <ScrollView
        pointerEvents="box-none"
        style={styles.scrollView}
        scrollEventThrottle={200}
        contentInset={{top: 0}}
        >
        <View style={styles.container}>
          <Text style={styles.welcome}>
            הגדרות
          </Text>
          <Text style={styles.categoryLabel}>Drawer Type</Text>
          <View style={styles.row}>
            <Text style={styles.rowLabel}>Overlay</Text>
              <Switch style={styles.rowInput}
              />
          </View>
        </View>
      </ScrollView>
    )
  }
});

var styles = {
    scrollView: {
      backgroundColor: '#ffffff',
    },
    container: {
      flex: 1,
      backgroundColor: '#ffffff',
    },
    welcome: {
      fontSize: 20,
      textAlign: 'center',
      margin: 25,
    },
    categoryLabel: {
      fontSize: 15,
      textAlign: 'right',
      right: 10,
      padding:10,
      fontWeight:'bold',
    },
    row: {
      padding: 10,
      flexDirection: 'row',
      backgroundColor:'white',
    },
    lastRow: {
      flexDirection: 'row',
      backgroundColor:'white',
      borderRadius: 0,
      borderWidth: 0,
      borderTopWidth: 1 / PixelRatio.get(),
      borderBottomWidth: 1 / PixelRatio.get(),
      borderColor: '#d6d7da',
      padding:10,
      alignItems: 'center'
    },
    rowLabel: {
      fontSize:15,
      flex:1,
    },
    rowInput: {
      flex:1,
    },
};
@YanYanLun
Copy link

This project is not very good support for Android, you need to modify your own index.js

@ErkanSensei
Copy link

Is there any exact fix around this issue? What would we have to edit in index.js?

@Jazz747
Copy link

Jazz747 commented Feb 27, 2017

@recr0ns Could this feature be merged already? it's been months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants