-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExtraPage.txt
37 lines (33 loc) · 1.61 KB
/
ExtraPage.txt
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
function AddTransaction({navigation}) {
return (
<View style={{ backgroundColor: "#2A9D8F", marginTop: 80 }}>
<View style={{ flexDirection: "row", margin: 13 }}>
<View style={{justifyContent: "center", textAlign: "center"}}>
<TouchableOpacity onPress={()=> navigation.navigate('Expenses')}>
<MaterialIcons name="arrow-back-ios" size={24} style={{ alignSelf: 'flex-start', color: "white" }}></MaterialIcons>
</TouchableOpacity>
</View>
<View style={{ width: "90%" }}>
<Text style={{ fontSize: 25, alignSelf: "center", fontWeight: "bold", color: "white" }}>Entertainment</Text>
</View>
</View>
<View style={{ alignItems: 'center' }}>
<MaterialCommunityIcons name="movie-open-outline" style={{ fontSize: 60, color: "white",marginTop:45 }}></MaterialCommunityIcons>
<View style={{ flexDirection: "row",marginTop:50 }}>
<Text style={{ fontSize: 40, color: "white" }}>$</Text>
<TextInput
style={{ fontSize: 40, color: "white", alignSelf: "flex-end",}}
placeholder="0.00"
keyboardType="decimal-pad"
>
</TextInput>
</View>
</View>
<View style={{ flexDirection: "row", justifyContent: 'space-around', alignItems: 'center' }}>
<OptionButton styles={styles.shadow} iconName="note-edit-outline" optionName="Notes" />
<OptionButton styles={styles.shadow} iconName="calendar" optionName="Calendar" />
<OptionButton styles={styles.shadow} iconName="credit-card" optionName="Payment" />
</View>
</View>
)
}