forked from KevinHu2014/RN-IceSpeed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStatusbar.js
64 lines (57 loc) · 1.19 KB
/
Statusbar.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View
} from 'react-native';
var Statusbar = React.createClass({
render() {
return (
<View style={styles.container}>
<View style={styles.Top_status}>
<View style={styles.Top_status_L}>
</View>
<View style={styles.Top_status_R}>
<Text style={styles.Top_welcome_R}>冰櫃神速</Text>
</View>
</View>
</View>
);
},
});
var styles = StyleSheet.create({
container: {
flex: 1,
},
Top_status: {
flex: 1,
flexDirection: 'row',
backgroundColor: '#8E8E8E',
},
Top_status_L: {
flex: 1,
backgroundColor: '#8E8E8E',
justifyContent: 'center',
alignItems: 'center',
},
Top_welcome_L: {
fontSize: 30,
color: '#FFFFFF',
},
Top_status_R:{
flex: 4,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#d0d0d0',
borderWidth: 10,
borderColor: '#5B5B5B',
borderTopColor: '#A0A0A0',
borderLeftColor: '#8E8E8E',
borderRightColor: '#858585',
},
Top_welcome_R: {
fontSize: 30,
color: 'black',
},
});
module.exports = Statusbar;