Advertisement
Guest User

Untitled

a guest
Nov 30th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. var ProgressBar = require('ProgressBarAndroid');
  2. <View style={{ flex: 1, backgroundColor: 'steelblue', padding: 10, justifyContent: 'center' }}>
  3. <Text style={{
  4. backgroundColor: 'steelblue', justifyContent: 'center', alignItems: 'center', fontSize: 40, textAlign: 'center',
  5. color: 'white', marginBottom: 30
  6. }}>LOGIN</Text>
  7. <ProgressBar style={{justifyContent:'center',alignItems:'center',styleAttr:'LargeInverse', color:'white'}} />
  8. <View style={{ justifyContent: 'center' }}>
  9. <TextInput
  10. style={{ height: 50, marginLeft: 30, marginRight: 30, marginBottom: 20, color: 'white', fontSize: 20 }}
  11. placeholder='Username' placeholderTextColor='white'
  12. autoFocus={true}
  13. returnKeyType='next'
  14. keyboardType='email-address'
  15. onChangeText={(valUsername) => _values.username = valUsername}
  16. />
  17. <TextInput
  18. secureTextEntry={true}
  19. style={{ height: 50, marginLeft: 30, marginRight: 30, marginBottom: 20, color: 'white', fontSize: 20 }}
  20. placeholder='Password' placeholderTextColor='white'
  21. onChangeText={(valPassword) => _values.password = valPassword}
  22. />
  23. </View>
  24. <Button onPress={() => { _handlePress() } } label='Login' />
  25. <View>
  26. <Text style={{ color: 'white', justifyContent: 'center', textAlign: 'center', alignItems: 'center', fontSize: 20, textDecorationLine: 'underline', textDecorationStyle: 'solid' }}>
  27. Forgot Password
  28. </Text>
  29. <Text style={{ color: 'white', marginTop: 10, justifyContent: 'center', textAlign: 'center', alignItems: 'center', fontSize: 20, textDecorationLine: 'underline', textDecorationStyle: 'solid' }}>
  30. SignUp
  31. </Text>
  32. </View>
  33. </View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement