-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
41 lines (39 loc) · 1.05 KB
/
App.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
38
39
40
41
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, SafeAreaView, View, Text } from 'react-native';
import { WebView } from 'react-native-webview';
export default function App() {
return (
<SafeAreaView style={{ flex:1 }}>
<View style={{
height: 50,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#333333'
}}>
<Text style={{ color: '#FFFFFF' }}>Radar Deutschland</Text>
</View>
<WebView
source={{
uri: 'http://192.168.2.57:8080/radar/v2/index.html',
}}
/>
<View style={{
height: 80,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#333333'
}}>
<Text style={{ color: '#FFFFFF' }}>HIER KÖNNTE IHRE WERBUNG STEHEN</Text>
</View>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});