Advertisement
Guest User

Untitled

a guest
Nov 17th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. <View style={styles.inputs}>
  2. <View style={styles.inputContainer}>
  3. <Image style={styles.inputUsername} source={require('./Resources/un.png')}/>
  4. <TextInput
  5. style={[styles.input, styles.whiteFont]}
  6. underlineColorAndroid={'white'}
  7. placeholder='Username'
  8. placeholderTextColor="white"
  9. //value={this.state.username}
  10. />
  11. </View>
  12. <View style={styles.inputContainer}>
  13. <Image style={styles.inputPassword} source={require('./Resources/pw.png')}/>
  14. <TextInput
  15. password={true}
  16. style={[styles.input, styles.whiteFont]}
  17. placeholder="Password"
  18. placeholderTextColor="#FFF"
  19. underlineColorAndroid={'transparent'}
  20. //value={this.state.password}
  21. />
  22. </View>
  23. <View style={styles.forgotContainer}>
  24. <Text style={styles.greyFont}>Forgot Password</Text>
  25. </View>
  26. </View>
  27.  
  28. var styles = StyleSheet.create({
  29. container: {
  30. flexDirection: 'column',
  31. flex: 1,
  32. backgroundColor: 'transparent'
  33. },
  34. bg: {
  35. position: 'absolute',
  36. left: 0,
  37. top: 0,
  38. width: windowSize.width,
  39. height: windowSize.height
  40. },
  41. header: {
  42. justifyContent: 'center',
  43. alignItems: 'center',
  44. flex: .5,
  45. backgroundColor: 'transparent'
  46. },
  47. mark: {
  48. width: 150,
  49. height: 150
  50. },
  51. signin: {
  52. backgroundColor: '#FF3366',
  53. padding: 20,
  54. alignItems: 'center'
  55. },
  56. signup: {
  57. justifyContent: 'center',
  58. alignItems: 'center',
  59. flex: .15
  60. },
  61. inputs: {
  62. marginTop: 10,
  63. marginBottom: 10,
  64. flex: .25
  65. },
  66. inputPassword: {
  67. marginLeft: 15,
  68. width: 20,
  69. height: 21
  70. },
  71. inputUsername: {
  72. marginLeft: 15,
  73. width: 20,
  74. height: 20
  75. },
  76. inputContainer: {
  77. padding: 10,
  78. borderWidth: 1,
  79. borderBottomColor: '#CCC',
  80. borderColor: 'transparent'
  81. },
  82. input: {
  83. position: 'absolute',
  84. left: 61,
  85. top: 12,
  86. right: 0,
  87. height: 20,
  88. fontSize: 14
  89. },
  90. forgotContainer: {
  91. alignItems: 'flex-end',
  92. padding: 15,
  93. },
  94. greyFont: {
  95. color: '#D8D8D8'
  96. },
  97. whiteFont: {
  98. color: '#FFF'
  99. }
  100. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement