Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ProgressBar = require('ProgressBarAndroid');
- <View style={{ flex: 1, backgroundColor: 'steelblue', padding: 10, justifyContent: 'center' }}>
- <Text style={{
- backgroundColor: 'steelblue', justifyContent: 'center', alignItems: 'center', fontSize: 40, textAlign: 'center',
- color: 'white', marginBottom: 30
- }}>LOGIN</Text>
- <ProgressBar style={{justifyContent:'center',alignItems:'center',styleAttr:'LargeInverse', color:'white'}} />
- <View style={{ justifyContent: 'center' }}>
- <TextInput
- style={{ height: 50, marginLeft: 30, marginRight: 30, marginBottom: 20, color: 'white', fontSize: 20 }}
- placeholder='Username' placeholderTextColor='white'
- autoFocus={true}
- returnKeyType='next'
- keyboardType='email-address'
- onChangeText={(valUsername) => _values.username = valUsername}
- />
- <TextInput
- secureTextEntry={true}
- style={{ height: 50, marginLeft: 30, marginRight: 30, marginBottom: 20, color: 'white', fontSize: 20 }}
- placeholder='Password' placeholderTextColor='white'
- onChangeText={(valPassword) => _values.password = valPassword}
- />
- </View>
- <Button onPress={() => { _handlePress() } } label='Login' />
- <View>
- <Text style={{ color: 'white', justifyContent: 'center', textAlign: 'center', alignItems: 'center', fontSize: 20, textDecorationLine: 'underline', textDecorationStyle: 'solid' }}>
- Forgot Password
- </Text>
- <Text style={{ color: 'white', marginTop: 10, justifyContent: 'center', textAlign: 'center', alignItems: 'center', fontSize: 20, textDecorationLine: 'underline', textDecorationStyle: 'solid' }}>
- SignUp
- </Text>
- </View>
- </View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement