Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <View style={styles.inputs}>
- <View style={styles.inputContainer}>
- <Image style={styles.inputUsername} source={require('./Resources/un.png')}/>
- <TextInput
- style={[styles.input, styles.whiteFont]}
- underlineColorAndroid={'white'}
- placeholder='Username'
- placeholderTextColor="white"
- //value={this.state.username}
- />
- </View>
- <View style={styles.inputContainer}>
- <Image style={styles.inputPassword} source={require('./Resources/pw.png')}/>
- <TextInput
- password={true}
- style={[styles.input, styles.whiteFont]}
- placeholder="Password"
- placeholderTextColor="#FFF"
- underlineColorAndroid={'transparent'}
- //value={this.state.password}
- />
- </View>
- <View style={styles.forgotContainer}>
- <Text style={styles.greyFont}>Forgot Password</Text>
- </View>
- </View>
- var styles = StyleSheet.create({
- container: {
- flexDirection: 'column',
- flex: 1,
- backgroundColor: 'transparent'
- },
- bg: {
- position: 'absolute',
- left: 0,
- top: 0,
- width: windowSize.width,
- height: windowSize.height
- },
- header: {
- justifyContent: 'center',
- alignItems: 'center',
- flex: .5,
- backgroundColor: 'transparent'
- },
- mark: {
- width: 150,
- height: 150
- },
- signin: {
- backgroundColor: '#FF3366',
- padding: 20,
- alignItems: 'center'
- },
- signup: {
- justifyContent: 'center',
- alignItems: 'center',
- flex: .15
- },
- inputs: {
- marginTop: 10,
- marginBottom: 10,
- flex: .25
- },
- inputPassword: {
- marginLeft: 15,
- width: 20,
- height: 21
- },
- inputUsername: {
- marginLeft: 15,
- width: 20,
- height: 20
- },
- inputContainer: {
- padding: 10,
- borderWidth: 1,
- borderBottomColor: '#CCC',
- borderColor: 'transparent'
- },
- input: {
- position: 'absolute',
- left: 61,
- top: 12,
- right: 0,
- height: 20,
- fontSize: 14
- },
- forgotContainer: {
- alignItems: 'flex-end',
- padding: 15,
- },
- greyFont: {
- color: '#D8D8D8'
- },
- whiteFont: {
- color: '#FFF'
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement