Skip to content

Commit 34ebabc

Browse files
many changed
1 parent dded268 commit 34ebabc

File tree

6 files changed

+345
-136
lines changed

6 files changed

+345
-136
lines changed

Styles.js

+133-105
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,152 @@
1-
import {StyleSheet} from "react-native";
1+
import { StyleSheet } from "react-native";
22
const styles = StyleSheet.create({
3-
container: {
4-
flex: 1,
5-
marginTop: 10,
6-
marginLeft: 10,
7-
marginRight: 10,
8-
},
9-
10-
Textstyle: {
11-
color: 'black',
12-
fontSize: 20,
13-
14-
},
15-
text: {
16-
color: '#4f603c',
17-
fontSize: 15,
18-
},
19-
list_item: {
20-
padding: 15,
21-
height: 50,
22-
marginBottom: 10,
23-
backgroundColor: '#FFFFFF'
24-
},
25-
listmain: {
26-
flex: 1,
27-
height: 70,
28-
flexDirection: 'row',
29-
},
30-
partone: {
31-
flex: .25,
32-
backgroundColor: '#FFFFFF',
33-
alignItems: 'center',
34-
justifyContent: 'center',
3+
container: {
4+
flex: 1,
5+
marginTop: 10,
6+
marginLeft: 10,
7+
marginRight: 10
8+
},
359

36-
},
37-
parttwo: {
38-
flex: .737,
39-
backgroundColor: '#FFFFFF',
40-
justifyContent: 'center',
41-
paddingLeft:10,
42-
fontWeight: 'bold'
43-
},
44-
partthree: {
45-
flex: .003,
46-
backgroundColor: '#e6e6e6'
47-
},
48-
texcolorbold:{
49-
color:'#333'
50-
},
51-
buttondtyle: {
10+
Textstyle: {
11+
color: "black",
12+
fontSize: 20
13+
},
14+
text: {
15+
color: "#4f603c",
16+
fontSize: 15
17+
},
18+
list_item: {
19+
padding: 15,
20+
height: 50,
21+
marginBottom: 10,
22+
backgroundColor: "#FFFFFF"
23+
},
24+
listmain: {
25+
flex: 1,
26+
height: 70,
27+
flexDirection: "row"
28+
},
29+
partone: {
30+
flex: 0.25,
31+
backgroundColor: "#FFFFFF",
32+
alignItems: "center",
33+
justifyContent: "center"
34+
},
35+
parttwo: {
36+
flex: 0.737,
37+
backgroundColor: "#FFFFFF",
38+
justifyContent: "center",
39+
paddingLeft: 10,
40+
fontWeight: "bold"
41+
},
42+
partthree: {
43+
flex: 0.003,
44+
backgroundColor: "#e6e6e6"
45+
},
46+
texcolorbold: {
47+
color: "#333"
48+
},
49+
buttondtyle: {
5250
marginTop: 10,
5351
marginLeft: 10,
5452
marginRight: 10,
55-
backgroundColor: '#2196F3',
53+
backgroundColor: "#2196F3"
5654
},
5755
buttonText: {
5856
padding: 20,
59-
color: 'white',
57+
color: "white",
6058
fontSize: 20,
61-
textAlign: 'center',
62-
59+
textAlign: "center"
6360
},
6461
scvwcontainer: {
6562
marginBottom: 10,
6663
flex: 1,
67-
flexDirection: 'column',
64+
flexDirection: "column"
6865
},
69-
buttontwo: {
66+
buttontwo: {
7067
padding: 20,
71-
color: '#d00000',
72-
textAlign: 'center',
73-
68+
color: "#d00000",
69+
textAlign: "center"
7470
},
7571

76-
gcontainer: {
77-
flex: 1,
78-
flexDirection: 'column',
79-
marginTop: 3,
80-
81-
},
82-
gtext: {
83-
color: '#4f603c',
84-
textAlign: 'left',
85-
},
86-
glinearGradient: {
87-
height: 150,
88-
borderRadius: 2,
89-
marginTop: 10,
90-
marginLeft: 10,
91-
marginRight: 10
92-
},
93-
94-
gcard_content: {
95-
flexDirection: 'row',
96-
justifyContent: 'space-between',
97-
},
98-
guserCard_layout: {
99-
flexDirection: 'column',
100-
width: 350,
101-
height: 150,
102-
padding: 15,
103-
},
104-
glabel_txt: {
105-
color: 'white',
106-
fontSize: 15,
107-
marginTop: 10
108-
},
109-
gheader_txt: {
110-
color: 'white',
111-
fontSize: 15,
112-
fontWeight: 'bold'
113-
},
114-
gscvwcontainer: {
115-
marginBottom: 10,
116-
flex: 1,
117-
flexDirection: 'column',
118-
},
119-
120-
72+
gcontainer: {
73+
flex: 1,
74+
flexDirection: "column",
75+
marginTop: 3,
76+
},
77+
gtext: {
78+
color: "#4f603c",
79+
textAlign: "left"
80+
},
81+
glinearGradient: {
82+
height: 150,
83+
borderRadius: 2,
84+
marginTop: 10,
85+
marginLeft: 10,
86+
marginRight: 10
87+
},
12188

89+
gcard_content: {
90+
flexDirection: "row",
91+
justifyContent: "space-between"
92+
},
93+
guserCard_layout: {
94+
flexDirection: "column",
95+
width: 350,
96+
height: 150,
97+
padding: 15
98+
},
99+
glabel_txt: {
100+
color: "white",
101+
fontSize: 15,
102+
marginTop: 10
103+
},
104+
gheader_txt: {
105+
color: "white",
106+
fontSize: 15,
107+
fontWeight: "bold"
108+
},
109+
gscvwcontainer: {
110+
marginBottom: 10,
111+
flex: 1,
112+
flexDirection: "column"
113+
},
114+
tempview: {
115+
marginTop: 5,
116+
backgroundColor: "#d00000"
117+
},
118+
/*
119+
Account list
120+
*/
121+
itemrow: {
122+
flexDirection: "row"
123+
},
124+
row_imag: {
125+
width: 35,
126+
height: 25
127+
},
128+
listtext: {
129+
alignItems: "center",
130+
justifyContent: "center",
131+
color: "black",
132+
fontWeight: "bold",
133+
fontSize: 12,
134+
marginLeft: 3,
135+
top: 2
136+
},
137+
line: {
138+
height: 15,
139+
backgroundColor: "black",
140+
top: 3,
141+
width: 1,
142+
bottom: 0,
143+
marginLeft: 5
144+
},
145+
containerAcc: {
146+
flex: 1,
147+
flexDirection: "column",
148+
paddingTop: 5,
122149

123-
});
124-
export default styles;
150+
},
151+
});
152+
export default styles;

index.android.js

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import PopupDialogTest from './src/PopupDialogTest';
2323
import Movies from './src/Movies';
2424
import TestFile from './src/TestFile';
2525
import FontTest from './src/FontTest';
26+
import TestApiTwo from './src/TestApiTwo';
2627

2728
import {
2829
AppRegistry,
@@ -62,6 +63,7 @@ const sample_stack = StackNavigator({ /* we can change it to TabNavigator and D
6263
Movies: {screen: Movies},
6364
TestFile: {screen: TestFile},
6465
FontTest: {screen: FontTest},
66+
TestApiTwo: {screen: TestApiTwo},
6567

6668
});
6769

0 commit comments

Comments
 (0)