Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import { StyleSheet, View, Text, Image} from 'react-native';
  3.  
  4. class Tentang extends Component {
  5.  
  6. render() {
  7. return (
  8. <View style={styles.containerMain}>
  9. <View style={{height:24}}>
  10.  
  11. </View>
  12. <View style={{flex:1.5, alignItems:'center',
  13. justifyContent:'space-around',
  14. backgroundColor:'#969969'}}>
  15. <Text style={{fontSize:30,
  16. color:'white'}}>Profile</Text>
  17. </View>
  18. <View style={{flex:3}}>
  19. <View style={{flex:1,
  20. flexDirection:'row'}}>
  21. <View style={{flex:1,
  22. alignItems:'flex-end',
  23. justifyContent:'space-around',
  24. borderRadius:20}}>
  25. <Image style={{width: 100, height: 150}}
  26. source={require("./up.png")}/>
  27. </View>
  28. <View style={{flex:2,
  29. alignItems:'stretch',
  30. justifyContent:'space-evenly',
  31. margin:5}}>
  32. <Text style={{borderWidth:1, fontSize:15, paddingLeft:10}}>Nama : M. Ainul Yaqin</Text>
  33. <Text style={{borderWidth:1, fontSize:15, paddingLeft:10}}>NIM : 1715051028</Text>
  34. <Text style={{borderWidth:1, fontSize:15, paddingLeft:10}}>Kelas : 4C</Text>
  35. <Text style={{borderWidth:1, fontSize:15, paddingLeft:10}}>Jurusan : Pendidikan Teknik Informatika</Text>
  36. <Text style={{borderWidth:1, fontSize:15, paddingLeft:10}}>Skill : Berdebat</Text>
  37. </View>
  38. </View>
  39. </View>
  40. <View style={{flex:6}}>
  41.  
  42. </View>
  43. <View style={{flex:1, alignItems:'center',
  44. justifyContent:'space-around',
  45. backgroundColor:'#969969'}}>
  46. </View>
  47. </View>
  48. );
  49. }
  50. }
  51.  
  52. const styles = StyleSheet.create({
  53. containerMain: {
  54. flex: 1,
  55. }
  56. })
  57.  
  58. export default Tentang;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement