-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcall.js
37 lines (34 loc) · 890 Bytes
/
call.js
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
import React from 'react';
import { View, Text, StyleSheet, ImageBackground } from 'react-native';
const CallingEmergency = () => {
return (
<ImageBackground
source={require('../../../../assets/images/call.jpg')} // Replace with actual phone ringing image path
style={styles.background}
>
<View style={styles.container}>
<Text style={styles.callingText}>Calling Emergency</Text>
</View>
</ImageBackground>
);
};
const styles = StyleSheet.create({
background: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
marginTop:60,
marginHorizontal:0,
marginVertical:90
},
container: {
backgroundColor: 'rgba(0, 0, 0, 0.5)',
padding: 20,
borderRadius: 10,
},
callingText: {
color: '#ffffff',
fontSize: 24,
},
});
export default CallingEmergency;