-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTabTwoScreen.tsx
70 lines (59 loc) · 1.54 KB
/
TabTwoScreen.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import React from 'react';
import {
TouchableOpacity,
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
ImageBackground
} from 'react-native';
import {Button} from 'react-native-elements';
export default function TabTwoScreen() {
const image = { uri: "https://cdn.discordapp.com/attachments/817573910320513045/818229605725896724/leaf.png" };
return (
<View style={{ flex: 1, backgroundColor: '#009900'}} >
<Text style={{
fontWeight: 'bold',
fontSize: '70',
color: '#99cc00',
marginTop : 30,
textAlign : 'center'
}}>Intelli-Waste</Text>
<View style = {{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 36
}}>
<ImageBackground source={image} style={{
position: 'absolute',
bottom:0,
width: 300,
height: 300
}}>
</ImageBackground>
</View>
<TouchableOpacity style = {{
marginRight:40,
marginLeft:40,
marginTop:10,
paddingTop:10,
paddingBottom:10,
backgroundColor:'#1E6738',
borderRadius:10,
borderWidth: 1,
borderColor: '#fff',
bottom: 10
}}>
<Text style={{
color:'#fff',
textAlign:'center',
paddingLeft : 10,
paddingRight : 10
}}>Login</Text>
</TouchableOpacity>
</View>
)
}